diff mbox series

[1/5] watchdog: rtd119x: drop unused module.h include

Message ID 1556034515-28792-2-git-send-email-paul.gortmaker@windriver.com (mailing list archive)
State Accepted
Headers show
Series wdt: clean up unused modular infrastructure | expand

Commit Message

Paul Gortmaker April 23, 2019, 3:48 p.m. UTC
The Kconfig for this driver is:

config RTD119X_WATCHDOG
       bool "Realtek RTD118x/RTD129x watchdog support"

...and hence it doesn't need to include module.h for anything.
There are no other signs of unused modular infrastructure.

Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 drivers/watchdog/rtd119x_wdt.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Guenter Roeck April 29, 2019, 4:38 p.m. UTC | #1
On Tue, Apr 23, 2019 at 11:48:31AM -0400, Paul Gortmaker wrote:
> The Kconfig for this driver is:
> 
> config RTD119X_WATCHDOG
>        bool "Realtek RTD118x/RTD129x watchdog support"
> 
> ...and hence it doesn't need to include module.h for anything.
> There are no other signs of unused modular infrastructure.
> 
> Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: linux-watchdog@vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
diff mbox series

Patch

diff --git a/drivers/watchdog/rtd119x_wdt.c b/drivers/watchdog/rtd119x_wdt.c
index d001c17ddfde..a0787a50ac6d 100644
--- a/drivers/watchdog/rtd119x_wdt.c
+++ b/drivers/watchdog/rtd119x_wdt.c
@@ -9,7 +9,6 @@ 
 #include <linux/bitops.h>
 #include <linux/clk.h>
 #include <linux/io.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/platform_device.h>