diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-03-17 10:24:57 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-17 14:20:16 +0100 |
commit | 85dadb718cc23492ef6edbc9af6c765a0c0aca66 (patch) | |
tree | ac7d91a3e12162ff31988e9c9555a597d962630f /drivers/spi/spi-mxs.c | |
parent | spi: dt-bindings: spi-controller: Fix spi-[rt]x-bus-width for slave mode (diff) | |
download | linux-85dadb718cc23492ef6edbc9af6c765a0c0aca66.tar.xz 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/spi-mxs.c')
-rw-r--r-- | drivers/spi/spi-mxs.c | 3 |
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> |