aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2015-05-28 15:50:19 -0400
committerJonathan Cameron <jic23@kernel.org>2015-06-07 12:25:55 -0400
commit994bda83dc6facc3fdd2130b0162b2abf09b2100 (patch)
tree2f1fbbaa708be3270fa8fd5463cc653e4f13c86b
parent0cbb39f1432096cf00eca21f2d10f6d2057c26ba (diff)
iio: adc: twl4030_madc: Fix description of twl4030_madc_set_current_generator()
The @chan parameter can be 0 or 1 and not a bit mask. Fix wrong description. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/adc/twl4030-madc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c
index 6d2d429a48e0..06f4792240f0 100644
--- a/drivers/iio/adc/twl4030-madc.c
+++ b/drivers/iio/adc/twl4030-madc.c
@@ -662,10 +662,8 @@ EXPORT_SYMBOL_GPL(twl4030_get_madc_conversion);
662 * 662 *
663 * @madc: pointer to twl4030_madc_data struct 663 * @madc: pointer to twl4030_madc_data struct
664 * @chan: can be one of the two values: 664 * @chan: can be one of the two values:
665 * TWL4030_BCI_ITHEN 665 * 0 - Enables bias current for main battery type reading
666 * Enables bias current for main battery type reading 666 * 1 - Enables bias current for main battery temperature sensing
667 * TWL4030_BCI_TYPEN
668 * Enables bias current for main battery temperature sensing
669 * @on: enable or disable chan. 667 * @on: enable or disable chan.
670 * 668 *
671 * Function to enable or disable bias current for 669 * Function to enable or disable bias current for