Commit ec70ed35 authored by Madhusudhan Chikkature's avatar Madhusudhan Chikkature Committed by Tony Lindgren

This patch set up the unused madc request structure members to NULL.

Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9e6782a4
...@@ -604,7 +604,9 @@ static int twl4030backupbatt_voltage(void) ...@@ -604,7 +604,9 @@ static int twl4030backupbatt_voltage(void)
struct twl4030_madc_request req; struct twl4030_madc_request req;
req.channels = (1 << 9); req.channels = (1 << 9);
req.do_avg = 0;
req.method = TWL4030_MADC_SW1; req.method = TWL4030_MADC_SW1;
req.active = 0;
req.func_cb = NULL; req.func_cb = NULL;
twl4030_madc_conversion(&req); twl4030_madc_conversion(&req);
temp = (u16)req.rbuf[9]; temp = (u16)req.rbuf[9];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment