Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: 74x174: Include proper headers

This driver has no business including <linux/gpio.h> or
<linux/of_gpio.h>. Cut them and include <linux/gpio/driver.h>
and <linux/gpio/consumer.h> which is it they really needs.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+2 -3
+2 -3
drivers/gpio/gpio-74x164.c
··· 9 9 * published by the Free Software Foundation. 10 10 */ 11 11 12 - #include <linux/gpio/consumer.h> 13 12 #include <linux/init.h> 14 13 #include <linux/mutex.h> 15 14 #include <linux/spi/spi.h> 16 - #include <linux/gpio.h> 17 - #include <linux/of_gpio.h> 15 + #include <linux/gpio/driver.h> 16 + #include <linux/gpio/consumer.h> 18 17 #include <linux/slab.h> 19 18 #include <linux/module.h> 20 19