* [PATCH] power: ds2782_battery: Typo in comment
@ 2014-01-17 17:02 Matthias Brugger
2014-01-25 11:04 ` Dmitry Eremin-Solenikov
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Brugger @ 2014-01-17 17:02 UTC (permalink / raw)
To: Anton Vorontsov, David Woodhouse, linux-kernel; +Cc: Matthias Brugger
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/ds2782_battery.c b/drivers/power/ds2782_battery.c
index 5631748..041f9b6 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)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: ds2782_battery: Typo in comment
2014-01-17 17:02 [PATCH] power: ds2782_battery: Typo in comment Matthias Brugger
@ 2014-01-25 11:04 ` Dmitry Eremin-Solenikov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Eremin-Solenikov @ 2014-01-25 11:04 UTC (permalink / raw)
To: Matthias Brugger; +Cc: Anton Vorontsov, David Woodhouse, linux-kernel
On Fri, Jan 17, 2014 at 06:02:38PM +0100, Matthias Brugger wrote:
> Change missleading comment to actual shift value provided by the chip.
Thank you, applied.
>
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-25 11:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-17 17:02 [PATCH] power: ds2782_battery: Typo in comment Matthias Brugger
2014-01-25 11:04 ` Dmitry Eremin-Solenikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).