Skip to content

Commit 85dadb7

Browse files
linuswbroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 30b435d commit 85dadb7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/spi/spi-mxs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include <linux/ioport.h>
2323
#include <linux/of.h>
2424
#include <linux/of_device.h>
25-
#include <linux/of_gpio.h>
2625
#include <linux/platform_device.h>
2726
#include <linux/delay.h>
2827
#include <linux/interrupt.h>
@@ -32,7 +31,7 @@
3231
#include <linux/clk.h>
3332
#include <linux/err.h>
3433
#include <linux/completion.h>
35-
#include <linux/gpio.h>
34+
#include <linux/pinctrl/consumer.h>
3635
#include <linux/regulator/consumer.h>
3736
#include <linux/pm_runtime.h>
3837
#include <linux/module.h>

0 commit comments

Comments
 (0)