]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
watchdog: st_wdt: Remove support for obsolete platforms
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 14 Sep 2016 13:27:49 +0000 (14:27 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 24 Sep 2016 06:59:49 +0000 (08:59 +0200)
STiH415/6 SoC support is being removed from the kernel.
This patch updates the watchdog driver to remove references
to these obsolete platforms.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: <linux-watchdog@vger.kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/st_lpc_wdt.c

index 14e9badf2bfa37b9c8fa0d3d923ecaa188b987b8..e6100e447dd89f391a68575c0b8542b6f8d3f513 100644 (file)
@@ -52,27 +52,6 @@ struct st_wdog {
        bool warm_reset;
 };
 
-static struct st_wdog_syscfg stid127_syscfg = {
-       .reset_type_reg         = 0x004,
-       .reset_type_mask        = BIT(2),
-       .enable_reg             = 0x000,
-       .enable_mask            = BIT(2),
-};
-
-static struct st_wdog_syscfg stih415_syscfg = {
-       .reset_type_reg         = 0x0B8,
-       .reset_type_mask        = BIT(6),
-       .enable_reg             = 0x0B4,
-       .enable_mask            = BIT(7),
-};
-
-static struct st_wdog_syscfg stih416_syscfg = {
-       .reset_type_reg         = 0x88C,
-       .reset_type_mask        = BIT(6),
-       .enable_reg             = 0x888,
-       .enable_mask            = BIT(7),
-};
-
 static struct st_wdog_syscfg stih407_syscfg = {
        .enable_reg             = 0x204,
        .enable_mask            = BIT(19),
@@ -83,18 +62,6 @@ static const struct of_device_id st_wdog_match[] = {
                .compatible = "st,stih407-lpc",
                .data = &stih407_syscfg,
        },
-       {
-               .compatible = "st,stih416-lpc",
-               .data = &stih416_syscfg,
-       },
-       {
-               .compatible = "st,stih415-lpc",
-               .data = &stih415_syscfg,
-       },
-       {
-               .compatible = "st,stid127-lpc",
-               .data = &stid127_syscfg,
-       },
        {},
 };
 MODULE_DEVICE_TABLE(of, st_wdog_match);