pinctrl: renesas: Remove unneeded #include <linux/gpio.h>
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 23 Feb 2022 08:35:29 +0000 (09:35 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Feb 2022 13:01:27 +0000 (14:01 +0100)
Linus reports that some Renesas pin control sub-drivers are still
including <linux/gpio.h> instead of <linux/gpio/driver.h>.  As these
sub-drivers don't need either, the includes can just be removed.

Reported-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/578825d779b45af745cc7623c7f69d2ddeadac4b.1645605227.git.geert+renesas@glider.be
drivers/pinctrl/renesas/pfc-sh7203.c
drivers/pinctrl/renesas/pfc-sh7264.c
drivers/pinctrl/renesas/pfc-sh7269.c
drivers/pinctrl/renesas/pfc-sh7720.c
drivers/pinctrl/renesas/pfc-sh7722.c

index 811a6f2cb1fcf9dfe8f243ee794ab81924cd8711..3986802b448a265c8061cb11ff26fabe7cdb90c0 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/gpio.h>
 #include <cpu/sh7203.h>
 
 #include "sh_pfc.h"
index 908837ea487bdcb96752044a0577dded5d8cc8fe..7476b982101d6518f7b28b4705abe7c922df7e4e 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/gpio.h>
 #include <cpu/sh7264.h>
 
 #include "sh_pfc.h"
index e2916aaa83044e33efd776b545aa5221e4c0f116..733a2c114ca26ea04fc26adfadbec452a5dad660 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/gpio.h>
 #include <cpu/sh7269.h>
 
 #include "sh_pfc.h"
index 37bcae6b32086a76946bbbf67edb0695305f1954..7071ef52449d6ccfb4d3770c4eb33f67d2a14e4d 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/gpio.h>
 #include <cpu/sh7720.h>
 
 #include "sh_pfc.h"
index 95295be4e703db9ceab0593102dbe6ccedef784c..13d9967dce592d8ef409564e358f819f0045986d 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/gpio.h>
 #include <cpu/sh7722.h>
 
 #include "sh_pfc.h"