aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Connolly2024-07-15 12:08:16 +0200
committerCaleb Connolly2024-07-26 01:28:12 +0200
commit13bed6c9032d0c2ad5e229a6c919f7aa6c4fe640 (patch)
tree352e5f177aedefeaf0aab10bf061518895f45ac7
parent7d264b5a4ca8a2b92628c25891dfe331b131fe46 (diff)
power: regulator: qcom-rpmh-regulator: adjust headers for U-Boot
Remove unused/unsupported Linux headers and add necessary U-Boot ones. Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
-rw-r--r--drivers/power/regulator/qcom-rpmh-regulator.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/power/regulator/qcom-rpmh-regulator.c b/drivers/power/regulator/qcom-rpmh-regulator.c
index 80e30471134..5f522de4473 100644
--- a/drivers/power/regulator/qcom-rpmh-regulator.c
+++ b/drivers/power/regulator/qcom-rpmh-regulator.c
@@ -5,15 +5,12 @@
#define pr_fmt(fmt) "%s: " fmt, __func__
#include <linux/err.h>
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/of.h>
-#include <linux/platform_device.h>
-#include <linux/slab.h>
-#include <linux/string.h>
-#include <linux/regulator/driver.h>
-#include <linux/regulator/machine.h>
-#include <linux/regulator/of_regulator.h>
+#include <dm/device_compat.h>
+#include <dm/device.h>
+#include <dm/devres.h>
+#include <dm/lists.h>
+#include <power/regulator.h>
+#include <log.h>
#include <soc/qcom/cmd-db.h>
#include <soc/qcom/rpmh.h>