power: ds2782_battery: Typo in comment
authorMatthias Brugger <matthias.bgg@gmail.com>
Fri, 17 Jan 2014 17:02:38 +0000 (18:02 +0100)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Sat, 25 Jan 2014 11:24:15 +0000 (15:24 +0400)
Change missleading comment to actual shift value provided by the chip.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/power/ds2782_battery.c

index 5631748..041f9b6 100644 (file)
@@ -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)