aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-09-11 10:27:58 +0200
committerMark Brown <broonie@kernel.org>2023-09-12 14:34:11 +0100
commitdd35a4debcf917f069e83f60b6ac84b5cad6e5e3 (patch)
treea3e1c735103e88dd8b3341c7265a21638c12ed16 /drivers/regulator
parentab6fa92531abfcc1f50062e867fe7d001b293f82 (diff)
downloadlinux-dd35a4debcf917f069e83f60b6ac84b5cad6e5e3.tar.gz
regulator: rk808: Drop useless headers
The RK808 is already using the proper <linux/gpio/consumer.h> header and includes the legacy headers <linux/gpio.h> and <linux/of_gpio.h> for no reason, drop the includes. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230911-descriptors-regulator-v2-1-ce978c52c557@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/rk808-regulator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
index 867a2cf243f68..e374fa6e5f284 100644
--- a/drivers/regulator/rk808-regulator.c
+++ b/drivers/regulator/rk808-regulator.c
@@ -15,10 +15,8 @@
*/
#include <linux/delay.h>
-#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/mfd/rk808.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>