[v1,1/1] gpio-dwapb: Drop unused headers and sort the rest

Message ID 20210604185013.86662-1-andriy.shevchenko@linux.intel.com
State New
Headers show
Series
  • [v1,1/1] gpio-dwapb: Drop unused headers and sort the rest
Related show

Commit Message

Andy Shevchenko June 4, 2021, 6:50 p.m.
Drop unused headers and drop the rest.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-dwapb.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Comments

Serge Semin June 5, 2021, 5:53 p.m. | #1
On Fri, Jun 04, 2021 at 09:50:13PM +0300, Andy Shevchenko wrote:
> Drop unused headers and drop the rest.


Thanks for cleanup.
Acked-by: Serge Semin <fancer.lancer@gmail.com>

Tested-by: Serge Semin <fancer.lancer@gmail.com>


-Sergey

> 

> Reported-by: kernel test robot <lkp@intel.com>

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> ---

>  drivers/gpio/gpio-dwapb.c | 8 +++-----

>  1 file changed, 3 insertions(+), 5 deletions(-)

> 

> diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c

> index 7d61f5821e32..3eb13d6d31ef 100644

> --- a/drivers/gpio/gpio-dwapb.c

> +++ b/drivers/gpio/gpio-dwapb.c

> @@ -13,17 +13,15 @@

>  #include <linux/io.h>

>  #include <linux/ioport.h>

>  #include <linux/irq.h>

> +#include <linux/mod_devicetable.h>

>  #include <linux/module.h>

>  #include <linux/of.h>

> -#include <linux/of_address.h>

> -#include <linux/of_device.h>

> -#include <linux/of_irq.h>

> +#include <linux/platform_data/gpio-dwapb.h>

>  #include <linux/platform_device.h>

>  #include <linux/property.h>

>  #include <linux/reset.h>

> -#include <linux/spinlock.h>

> -#include <linux/platform_data/gpio-dwapb.h>

>  #include <linux/slab.h>

> +#include <linux/spinlock.h>

>  

>  #include "gpiolib.h"

>  #include "gpiolib-acpi.h"

> -- 

> 2.30.2

>
Bartosz Golaszewski June 7, 2021, 1:36 p.m. | #2
On Fri, Jun 4, 2021 at 8:49 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>

> Drop unused headers and drop the rest.

>

> Reported-by: kernel test robot <lkp@intel.com>

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> ---


Applied, thanks!

Bart

Patch

diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c
index 7d61f5821e32..3eb13d6d31ef 100644
--- a/drivers/gpio/gpio-dwapb.c
+++ b/drivers/gpio/gpio-dwapb.c
@@ -13,17 +13,15 @@ 
 #include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/irq.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_address.h>
-#include <linux/of_device.h>
-#include <linux/of_irq.h>
+#include <linux/platform_data/gpio-dwapb.h>
 #include <linux/platform_device.h>
 #include <linux/property.h>
 #include <linux/reset.h>
-#include <linux/spinlock.h>
-#include <linux/platform_data/gpio-dwapb.h>
 #include <linux/slab.h>
+#include <linux/spinlock.h>
 
 #include "gpiolib.h"
 #include "gpiolib-acpi.h"