提交 994bda83 编写于 作者: H H. Nikolaus Schaller 提交者: Jonathan Cameron

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: NH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: NMarek Belisko <marek@goldelico.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 0cbb39f1
...@@ -662,10 +662,8 @@ EXPORT_SYMBOL_GPL(twl4030_get_madc_conversion); ...@@ -662,10 +662,8 @@ EXPORT_SYMBOL_GPL(twl4030_get_madc_conversion);
* *
* @madc: pointer to twl4030_madc_data struct * @madc: pointer to twl4030_madc_data struct
* @chan: can be one of the two values: * @chan: can be one of the two values:
* TWL4030_BCI_ITHEN * 0 - Enables bias current for main battery type reading
* Enables bias current for main battery type reading * 1 - Enables bias current for main battery temperature sensing
* TWL4030_BCI_TYPEN
* Enables bias current for main battery temperature sensing
* @on: enable or disable chan. * @on: enable or disable chan.
* *
* Function to enable or disable bias current for * Function to enable or disable bias current for
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册