Skip to contentSkip to conversation

iio: adc: ad7124: Fix typo in device name

PATCH Applied Mircea Caprioru 3 participants 3 messages Sep 2, 2020 – Sep 6, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: adc: ad7124: Fix typo in device name

This patch fixes the device name typo.

Fixes 951ad4700313 ("iio: adc: ad7124: move chip ID & name on the chip_info table")
---
 drivers/iio/adc/ad7124.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iio/adc/ad7124.c +2 -2
index 8dce06e9e69c..766c73333604 100644
@@ -177,12 +177,12 @@ static const struct iio_chan_spec ad7124_channel_template = {
 
 static struct ad7124_chip_info ad7124_chip_info_tbl[] = {
 	[ID_AD7124_4] = {
-		.name = "ad7127-4",
+		.name = "ad7124-4",
 		.chip_id = CHIPID_AD7124_4,
 		.num_inputs = 8,
 	},
 	[ID_AD7124_8] = {
-		.name = "ad7127-8",
+		.name = "ad7124-8",
 		.chip_id = CHIPID_AD7124_8,
 		.num_inputs = 16,
 	},
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Mircea Caprioru

This patch fixes the device name typo.

Luckily it's part of v5.9-rcX, so if Jonathan sends this within v5.9 time frame, we are good.

Quoted 28 lines
Fixes 951ad4700313 ("iio: adc: ad7124: move chip ID & name on the chip_info table")
---
 drivers/iio/adc/ad7124.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iio/adc/ad7124.c +2 -3
index 8dce06e9e69c..766c73333604 100644
@@ -177,12 +177,12 @@ static const struct iio_chan_spec ad7124_channel_template = {
 
 static struct ad7124_chip_info ad7124_chip_info_tbl[] = {
        [ID_AD7124_4] = {
-               .name = "ad7127-4",
+               .name = "ad7124-4",
                .chip_id = CHIPID_AD7124_4,
                .num_inputs = 8,
        },
        [ID_AD7124_8] = {
-               .name = "ad7127-8",
+               .name = "ad7124-8",
                .chip_id = CHIPID_AD7124_8,
                .num_inputs = 16,
        },
--

2.25.1

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer Applied
#2 lore raw
Quoted 9 lines · On Wed, 2 Sep 2020 21:05:56 +0300 Andy Shevchenko <[email protected]>…
Quoted 3 lines · Mircea Caprioru

This patch fixes the device name typo.

Luckily it's part of v5.9-rcX, so if Jonathan sends this within v5.9 time frame, we are good.

Applied to the fixes-togreg branch of iio.git.

Should be plenty of time. :) (famous last words)

Jonathan

Quoted 32 lines
Quoted 30 lines
Fixes 951ad4700313 ("iio: adc: ad7124: move chip ID & name on the chip_info table")
---
 drivers/iio/adc/ad7124.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iio/adc/ad7124.c +2 -3
index 8dce06e9e69c..766c73333604 100644
@@ -177,12 +177,12 @@ static const struct iio_chan_spec ad7124_channel_template = {
 
 static struct ad7124_chip_info ad7124_chip_info_tbl[] = {
        [ID_AD7124_4] = {
-               .name = "ad7127-4",
+               .name = "ad7124-4",
                .chip_id = CHIPID_AD7124_4,
                .num_inputs = 8,
        },
        [ID_AD7124_8] = {
-               .name = "ad7127-8",
+               .name = "ad7124-8",
                .chip_id = CHIPID_AD7124_8,
                .num_inputs = 16,
        },
--

2.25.1