From d99afcd0da37eb1a8d176f3f091196bb6f9513e9 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 24 May 2023 14:23:13 +0200 Subject: [PATCH] drivers: regulator: adp5360: remove unused init priority The common init priority is a leftover from a previous implementation. Remove it as it's not used. Signed-off-by: Gerard Marull-Paretas --- drivers/regulator/Kconfig.adp5360 | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/regulator/Kconfig.adp5360 b/drivers/regulator/Kconfig.adp5360 index 30f4d566254..0785ba54abf 100644 --- a/drivers/regulator/Kconfig.adp5360 +++ b/drivers/regulator/Kconfig.adp5360 @@ -9,20 +9,9 @@ config REGULATOR_ADP5360 help Enable the Analog Devices ADP5360 PMIC regulator driver -if REGULATOR_ADP5360 - -config REGULATOR_ADP5360_COMMON_INIT_PRIORITY - int "ADP5360 regulator driver init priority (common part)" - default 75 - help - Init priority for the Analog Devices ADP5360 regulator driver (common - part). It must be greater than I2C init priority. - config REGULATOR_ADP5360_INIT_PRIORITY int "ADP5360 regulator driver init priority" default 76 + depends on REGULATOR_ADP5360 help - Init priority for the Analog Devices ADP5360 regulator driver. It must - be greater than REGULATOR_ADP5360_COMMON_INIT_PRIORITY. - -endif + Init priority for the Analog Devices ADP5360 regulator driver.