diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-12-14 13:35:10 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-01-10 15:43:47 +0100 |
commit | f662623968e17a5044ba546fd1834ceb40241e48 (patch) | |
tree | 8a6713d72b8036a8791faca546cb1a5455401b27 /drivers/regulator/stpmic1_regulator.c | |
parent | c0afc799fb9a19a11f651596fe23b4b755593887 (diff) | |
download | barebox-f662623968e17a5044ba546fd1834ceb40241e48.tar.gz barebox-f662623968e17a5044ba546fd1834ceb40241e48.tar.xz |
Rename struct driver_d to driver
The '_d' suffix was originally meant to distinguish barebox struct
names from Linux struct names. struct driver doesn't exist in Linux,
so we can rename it and remove the meaningless suffix.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.barebox.org/20221214123512.189688-4-s.hauer@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/regulator/stpmic1_regulator.c')
-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 066ad8d7ae..c39e01f6da 100644 --- a/drivers/regulator/stpmic1_regulator.c +++ b/drivers/regulator/stpmic1_regulator.c @@ -432,7 +432,7 @@ static __maybe_unused const struct of_device_id stpmic1_regulator_of_match[] = { { /* sentinel */ }, }; -static struct driver_d stpmic1_regulator_driver = { +static struct driver stpmic1_regulator_driver = { .name = "stpmic1-regulator", .probe = stpmic1_regulator_probe, .of_compatible = DRV_OF_COMPAT(stpmic1_regulator_of_match), |