summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-03-17 10:24:57 +0100
committerMark Brown <broonie@kernel.org>2020-03-17 13:20:16 +0000
commit85dadb718cc23492ef6edbc9af6c765a0c0aca66 (patch)
treeac7d91a3e12162ff31988e9c9555a597d962630f /drivers/spi
parent30b435d54b84fd1f9c53a237dec3c224ec1e59c7 (diff)
downloadlinux-85dadb718cc23492ef6edbc9af6c765a0c0aca66.tar.gz
linux-85dadb718cc23492ef6edbc9af6c765a0c0aca66.tar.bz2
linux-85dadb718cc23492ef6edbc9af6c765a0c0aca66.zip
spi: mxs: Drop GPIO includes
This driver is not using any symbols from the GPIO .h files so drop them. It was however implicitly using <linux/pinctrl/consumer.h> so include that instead. Cc: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20200317092457.264055-1-linus.walleij@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-mxs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c
index dce85ee07cd0..918918a9e049 100644
--- a/drivers/spi/spi-mxs.c
+++ b/drivers/spi/spi-mxs.c
@@ -22,7 +22,6 @@
#include <linux/ioport.h>
#include <linux/of.h>
#include <linux/of_device.h>
-#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
@@ -32,7 +31,7 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/completion.h>
-#include <linux/gpio.h>
+#include <linux/pinctrl/consumer.h>
#include <linux/regulator/consumer.h>
#include <linux/pm_runtime.h>
#include <linux/module.h>