summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2014-01-17 18:02:38 +0100
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2014-01-25 15:24:15 +0400
commit1b5e1c6e6e728774ba7a1e8286d4833e4a16e918 (patch)
tree6b851344295fa9ab109706ea6152573e6fe8a816 /drivers/power
parent573189354b7c97cd2256b87cf083ee435584594e (diff)
downloadlinux-1b5e1c6e6e728774ba7a1e8286d4833e4a16e918.tar.gz
linux-1b5e1c6e6e728774ba7a1e8286d4833e4a16e918.tar.bz2
linux-1b5e1c6e6e728774ba7a1e8286d4833e4a16e918.zip
power: ds2782_battery: Typo in comment
Change missleading comment to actual shift value provided by the chip. Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/ds2782_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/ds2782_battery.c b/drivers/power/ds2782_battery.c
index 563174891c90..041f9b638d28 100644
--- a/drivers/power/ds2782_battery.c
+++ b/drivers/power/ds2782_battery.c
@@ -192,7 +192,7 @@ static int ds2786_get_voltage(struct ds278x_info *info, int *voltage_uV)
/*
* Voltage is measured in units of 1.22mV. The voltage is stored as
- * a 10-bit number plus sign, in the upper bits of a 16-bit register
+ * a 12-bit number plus sign, in the upper bits of a 16-bit register
*/
err = ds278x_read_reg16(info, DS278x_REG_VOLT_MSB, &raw);
if (err)