2020-02-21 02:07:49

by Anson Huang

[permalink] [raw]
Subject: [PATCH 2/3] watchdog: imx7ulp: Remove unused include of init.h

There is nothing in use from init.h, remove it.

Signed-off-by: Anson Huang <[email protected]>
---
drivers/watchdog/imx7ulp_wdt.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/watchdog/imx7ulp_wdt.c b/drivers/watchdog/imx7ulp_wdt.c
index 11b9e7c..7993c8c 100644
--- a/drivers/watchdog/imx7ulp_wdt.c
+++ b/drivers/watchdog/imx7ulp_wdt.c
@@ -4,7 +4,6 @@
*/

#include <linux/clk.h>
-#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
--
2.7.4


2020-02-22 16:00:37

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 2/3] watchdog: imx7ulp: Remove unused include of init.h

On Fri, Feb 21, 2020 at 10:00:29AM +0800, Anson Huang wrote:
> There is nothing in use from init.h, remove it.
>
> Signed-off-by: Anson Huang <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> drivers/watchdog/imx7ulp_wdt.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/watchdog/imx7ulp_wdt.c b/drivers/watchdog/imx7ulp_wdt.c
> index 11b9e7c..7993c8c 100644
> --- a/drivers/watchdog/imx7ulp_wdt.c
> +++ b/drivers/watchdog/imx7ulp_wdt.c
> @@ -4,7 +4,6 @@
> */
>
> #include <linux/clk.h>
> -#include <linux/init.h>
> #include <linux/io.h>
> #include <linux/kernel.h>
> #include <linux/module.h>