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/mips | |
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/mips')
-rw-r--r-- | arch/mips/mach-ar231x/ar231x_reset.c | 2 | ||||
-rw-r--r-- | arch/mips/mach-ath79/art.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mach-ar231x/ar231x_reset.c b/arch/mips/mach-ar231x/ar231x_reset.c index bdaceb65b2..7479f3ce4a 100644 --- a/arch/mips/mach-ar231x/ar231x_reset.c +++ b/arch/mips/mach-ar231x/ar231x_reset.c @@ -61,7 +61,7 @@ static int ar231x_reset_probe(struct device *dev) return 0; } -static struct driver_d ar231x_reset_driver = { +static struct driver ar231x_reset_driver = { .probe = ar231x_reset_probe, .name = "ar231x_reset", }; diff --git a/arch/mips/mach-ath79/art.c b/arch/mips/mach-ath79/art.c index c1a9263559..772fc24e03 100644 --- a/arch/mips/mach-ath79/art.c +++ b/arch/mips/mach-ath79/art.c @@ -97,7 +97,7 @@ static struct of_device_id art_dt_ids[] = { } }; -static struct driver_d art_driver = { +static struct driver art_driver = { .name = "qca-art", .probe = art_probe, .of_compatible = art_dt_ids, |