[PATCH v1 1/3] watchdog: intel-mid_wdt: Remove unused intel-mid.h

Andy Shevchenko posted 3 patches 1 year, 9 months ago
[PATCH v1 1/3] watchdog: intel-mid_wdt: Remove unused intel-mid.h
Posted by Andy Shevchenko 1 year, 9 months ago
intel-mid.h is providing some core parts of the South Complex PM,
which are usually are not used by individual drivers. In particular,
this driver doesn't use it, so simply remove the unused header.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/watchdog/intel-mid_wdt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/watchdog/intel-mid_wdt.c b/drivers/watchdog/intel-mid_wdt.c
index fb7fae750181..b41c45582aa4 100644
--- a/drivers/watchdog/intel-mid_wdt.c
+++ b/drivers/watchdog/intel-mid_wdt.c
@@ -17,7 +17,6 @@
 #include <linux/platform_data/intel-mid_wdt.h>
 
 #include <asm/intel_scu_ipc.h>
-#include <asm/intel-mid.h>
 
 #define IPC_WATCHDOG 0xf8
 
-- 
2.43.0.rc1.1.gbec44491f096
Re: [PATCH v1 1/3] watchdog: intel-mid_wdt: Remove unused intel-mid.h
Posted by Guenter Roeck 1 year, 9 months ago
On Tue, Mar 05, 2024 at 06:52:18PM +0200, Andy Shevchenko wrote:
> intel-mid.h is providing some core parts of the South Complex PM,
> which are usually are not used by individual drivers. In particular,
> this driver doesn't use it, so simply remove the unused header.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

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

> ---
>  drivers/watchdog/intel-mid_wdt.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/watchdog/intel-mid_wdt.c b/drivers/watchdog/intel-mid_wdt.c
> index fb7fae750181..b41c45582aa4 100644
> --- a/drivers/watchdog/intel-mid_wdt.c
> +++ b/drivers/watchdog/intel-mid_wdt.c
> @@ -17,7 +17,6 @@
>  #include <linux/platform_data/intel-mid_wdt.h>
>  
>  #include <asm/intel_scu_ipc.h>
> -#include <asm/intel-mid.h>
>  
>  #define IPC_WATCHDOG 0xf8
>  
> -- 
> 2.43.0.rc1.1.gbec44491f096
>