git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e6782a
)
This patch set up the unused madc request structure members to NULL.
author
Madhusudhan Chikkature
<madhu.cr@ti.com>
Tue, 23 Sep 2008 10:48:54 +0000
(13:48 +0300)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 23 Sep 2008 10:48:54 +0000
(13:48 +0300)
Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/power/twl4030_bci_battery.c
patch
|
blob
|
history
diff --git
a/drivers/power/twl4030_bci_battery.c
b/drivers/power/twl4030_bci_battery.c
index
aef8bbd
..
6a55838
100644
(file)
--- a/
drivers/power/twl4030_bci_battery.c
+++ b/
drivers/power/twl4030_bci_battery.c
@@
-604,7
+604,9
@@
static int twl4030backupbatt_voltage(void)
struct twl4030_madc_request req;
req.channels = (1 << 9);
+ req.do_avg = 0;
req.method = TWL4030_MADC_SW1;
+ req.active = 0;
req.func_cb = NULL;
twl4030_madc_conversion(&req);
temp = (u16)req.rbuf[9];