From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] fixup! aiodev: add support for STM32 ADC
Date: Tue, 9 Feb 2021 09:00:47 +0100 [thread overview]
Message-ID: <20210209080047.27823-1-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20210208191827.19241-4-a.fatoum@pengutronix.de>
The identifiers hint at where the driver boilerplate was taken from.
Replace them with correctly named ones.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
drivers/aiodev/stm32-adc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/aiodev/stm32-adc.c b/drivers/aiodev/stm32-adc.c
index eb9548adef70..c99b995eafe5 100644
--- a/drivers/aiodev/stm32-adc.c
+++ b/drivers/aiodev/stm32-adc.c
@@ -360,15 +360,15 @@ static const struct stm32_adc_cfg stm32mp1_adc_cfg = {
.has_vregready = true,
};
-static const struct of_device_id qoriq_tmu_match[] = {
+static const struct of_device_id stm32_adc_match[] = {
{ .compatible = "st,stm32h7-adc", .data = &stm32h7_adc_cfg },
{ .compatible = "st,stm32mp1-adc", .data = &stm32mp1_adc_cfg },
{}
};
-static struct driver_d imx_thermal_driver = {
+static struct driver_d stm32_adc_driver = {
.name = "stm32-adc",
.probe = stm32_adc_probe,
- .of_compatible = DRV_OF_COMPAT(qoriq_tmu_match),
+ .of_compatible = DRV_OF_COMPAT(stm32_adc_match),
};
-device_platform_driver(imx_thermal_driver);
+device_platform_driver(stm32_adc_driver);
--
2.30.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2021-02-09 8:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 19:18 [PATCH 1/4] regulator: add regulator_get_voltage() to API Ahmad Fatoum
2021-02-08 19:18 ` [PATCH 2/4] regulator: add support for struct regulator_desc::off_on_delay Ahmad Fatoum
2021-02-08 19:18 ` [PATCH 3/4] regulator: add driver for stm32-vrefbuf Ahmad Fatoum
2021-02-08 19:18 ` [PATCH 4/4] aiodev: add support for STM32 ADC Ahmad Fatoum
2021-02-09 8:00 ` Ahmad Fatoum [this message]
2021-02-10 9:15 ` [PATCH 1/4] regulator: add regulator_get_voltage() to API Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210209080047.27823-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox