Drop unused headers and drop the rest.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
---
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
On Fri, Jun 4, 2021 at 8:49 PM Andy Shevchenko
<[email protected]> wrote:
> Drop unused headers and drop the rest.
>
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Yours,
Linus Walleij
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 <[email protected]>
Tested-by: Serge Semin <[email protected]>
-Sergey
>
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> 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
>
On Fri, Jun 4, 2021 at 8:49 PM Andy Shevchenko
<[email protected]> wrote:
>
> Drop unused headers and drop the rest.
>
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
Applied, thanks!
Bart