Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b5e1c6e authored by Matthias Brugger's avatar Matthias Brugger Committed by Dmitry Eremin-Solenikov
Browse files

power: ds2782_battery: Typo in comment



Change missleading comment to actual shift value provided by the chip.

Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 57318935
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)