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

From: Serge Semin
Date: Sat Jun 05 2021 - 14:00:20 EST


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@xxxxxxxxx>
Tested-by: Serge Semin <fancer.lancer@xxxxxxxxx>

-Sergey

>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> 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
>