From 2c42da39a91238cc16f87c2867c8a5ea7847f99c Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Mon, 11 May 2020 18:50:19 +0200 Subject: regulator: stpmic1: move to coredevice level Those regulators are needed by other devices. Probe them early. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- drivers/regulator/stpmic1_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/regulator/stpmic1_regulator.c') diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c index aaaba092c1..71a4ae80c3 100644 --- a/drivers/regulator/stpmic1_regulator.c +++ b/drivers/regulator/stpmic1_regulator.c @@ -433,4 +433,4 @@ static struct driver_d stpmic1_regulator_driver = { .probe = stpmic1_regulator_probe, .of_compatible = DRV_OF_COMPAT(stpmic1_regulator_of_match), }; -device_platform_driver(stpmic1_regulator_driver); +coredevice_platform_driver(stpmic1_regulator_driver); -- cgit v1.2.3