From 13bed6c9032d0c2ad5e229a6c919f7aa6c4fe640 Mon Sep 17 00:00:00 2001 From: Caleb Connolly <caleb.connolly@linaro.org> Date: Mon, 15 Jul 2024 12:08:16 +0200 Subject: [PATCH] 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> --- drivers/power/regulator/qcom-rpmh-regulator.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/power/regulator/qcom-rpmh-regulator.c b/drivers/power/regulator/qcom-rpmh-regulator.c index 80e3047113..5f522de447 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> -- 2.39.5