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 /arch/arm/mach-clps711x | |
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 'arch/arm/mach-clps711x')
-rw-r--r-- | arch/arm/mach-clps711x/clock.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/common.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-clps711x/clock.c b/arch/arm/mach-clps711x/clock.c index 7ad43842f6..fda4e9a01d 100644 --- a/arch/arm/mach-clps711x/clock.c +++ b/arch/arm/mach-clps711x/clock.c @@ -84,7 +84,7 @@ static const struct of_device_id __maybe_unused clps711x_clk_dt_ids[] = { { } }; -static struct driver_d clps711x_clk_driver = { +static struct driver clps711x_clk_driver = { .probe = clps711x_clk_probe, .name = "clps711x-clk", .of_compatible = DRV_OF_COMPAT(clps711x_clk_dt_ids), diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c index a185110213..d27ed41ef9 100644 --- a/arch/arm/mach-clps711x/common.c +++ b/arch/arm/mach-clps711x/common.c @@ -136,7 +136,7 @@ static const struct of_device_id __maybe_unused clps711x_bus_dt_ids[] = { { } }; -static struct driver_d clps711x_bus_driver = { +static struct driver clps711x_bus_driver = { .name = "clps711x-bus", .probe = clps711x_bus_probe, .of_compatible = DRV_OF_COMPAT(clps711x_bus_dt_ids), |