Skip to contentSkip to conversation

iio:max1363 fix typos of int_vref_mv

PATCH Applied Hartmut Knaack 2 participants 2 messages Feb 16, 2014 – Feb 18, 2014 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio:max1363 fix typos of int_vref_mv

This patch fixes some typos in max1363_chip_info_tbl[].

---

drivers/iio/adc/max1363.c +3 -3
index e283f2f..de7d3b4 100644
@@ -1253,7 +1253,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
 	},
 	[max11604] = {
 		.bits = 8,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
 		.mode_list = max1238_mode_list,
 		.num_modes = ARRAY_SIZE(max1238_mode_list),
 		.default_mode = s0to11,
@@ -1313,7 +1313,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
 	},
 	[max11610] = {
 		.bits = 10,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
 		.mode_list = max1238_mode_list,
 		.num_modes = ARRAY_SIZE(max1238_mode_list),
 		.default_mode = s0to11,
@@ -1373,7 +1373,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
 	},
 	[max11616] = {
 		.bits = 12,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
 		.mode_list = max1238_mode_list,
 		.num_modes = ARRAY_SIZE(max1238_mode_list),
 		.default_mode = s0to11,
maintainer Applied
#1 lore raw
Quoted 3 lines · Hartmut Knaack

This patch fixes some typos in max1363_chip_info_tbl[].

Good spot. As it has been there for quite some time and no one has noticed, I'll put this through the togreg branch rather than fixes-togreg.

Applied to the togreg branch of iio.git. Thanks.

Quoted 37 lines

---

drivers/iio/adc/max1363.c +3 -4
index e283f2f..de7d3b4 100644
@@ -1253,7 +1253,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
  	},
  	[max11604] = {
  		.bits = 8,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
  		.mode_list = max1238_mode_list,
  		.num_modes = ARRAY_SIZE(max1238_mode_list),
  		.default_mode = s0to11,
@@ -1313,7 +1313,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
  	},
  	[max11610] = {
  		.bits = 10,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
  		.mode_list = max1238_mode_list,
  		.num_modes = ARRAY_SIZE(max1238_mode_list),
  		.default_mode = s0to11,
@@ -1373,7 +1373,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
  	},
  	[max11616] = {
  		.bits = 12,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
  		.mode_list = max1238_mode_list,
  		.num_modes = ARRAY_SIZE(max1238_mode_list),
  		.default_mode = s0to11,
--

To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html