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

regulator: rpi-panel-attiny: Drop useless header

The RPI panel regulator driver includes the legacy header
<linux/gpio.h> for no reason, this is a driver and <linux/gpio/driver.h>
is already included. Drop the include.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230808-descriptors-regulator-v1-3-939b5e84dd18@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Linus Walleij and committed by
Mark Brown
052eff40 d0d58fe2

-1
-1
drivers/regulator/rpi-panel-attiny-regulator.c
··· 7 7 8 8 #include <linux/backlight.h> 9 9 #include <linux/err.h> 10 - #include <linux/gpio.h> 11 10 #include <linux/gpio/driver.h> 12 11 #include <linux/i2c.h> 13 12 #include <linux/init.h>