diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2020-05-11 18:50:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-12 09:50:03 +0200 |
commit | 2c42da39a91238cc16f87c2867c8a5ea7847f99c (patch) | |
tree | ca19aa5cfd1cfa3ac1b5b9211d04894b5b76e920 /drivers/regulator | |
parent | 8cf3a4a262927a5bb15be9dfbea2ebd3178513c4 (diff) | |
download | barebox-2c42da39a91238cc16f87c2867c8a5ea7847f99c.tar.gz barebox-2c42da39a91238cc16f87c2867c8a5ea7847f99c.tar.xz |
regulator: stpmic1: move to coredevice level
Those regulators are needed by other devices. Probe them early.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/stpmic1_regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |