linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] iio: adc: ad4080: use lowercase device name
@ 2025-05-26  8:22 Antoniu Miclaus
  2025-05-26  8:22 ` [PATCH v2 2/2] iio: adc: ad4080: extend check for data lanes num Antoniu Miclaus
  2025-05-31 17:07 ` [PATCH v2 1/2] iio: adc: ad4080: use lowercase device name Jonathan Cameron
  0 siblings, 2 replies; 3+ messages in thread
From: Antoniu Miclaus @ 2025-05-26  8:22 UTC (permalink / raw)
  To: jic23, linux-iio, linux-kernel; +Cc: Antoniu Miclaus, Nuno Sá

Update the .name field in the ad4080_chip_info struct
from "AD4080" to "ad4080" to follow the common convention
in IIO drivers of using lowercase names for device identifiers.

Fixes: 1ff3f56f846b ("iio: adc: ad4080: add driver support")
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
changes in v2:
 - drop "no functional changes" from commit body
 - add fixes tag
 drivers/iio/adc/ad4080.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/ad4080.c b/drivers/iio/adc/ad4080.c
index e8b2e5e7a68a..c36eb41d738a 100644
--- a/drivers/iio/adc/ad4080.c
+++ b/drivers/iio/adc/ad4080.c
@@ -433,7 +433,7 @@ static const struct iio_chan_spec ad4080_channel = {
 };
 
 static const struct ad4080_chip_info ad4080_chip_info = {
-	.name = "AD4080",
+	.name = "ad4080",
 	.product_id = AD4080_CHIP_ID,
 	.scale_table = ad4080_scale_table,
 	.num_scales = ARRAY_SIZE(ad4080_scale_table),
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-31 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26  8:22 [PATCH v2 1/2] iio: adc: ad4080: use lowercase device name Antoniu Miclaus
2025-05-26  8:22 ` [PATCH v2 2/2] iio: adc: ad4080: extend check for data lanes num Antoniu Miclaus
2025-05-31 17:07 ` [PATCH v2 1/2] iio: adc: ad4080: use lowercase device name Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).