Commit 5fe13fd5 authored by Tony Lindgren's avatar Tony Lindgren

I2C: Initiallize func_cb to NULL

As pointed out by Adrian Hunter.
Signed-off-by: default avatarTony Lindren <tony@atomide.com>
parent 589ccfa4
......@@ -605,6 +605,7 @@ static int twl4030backupbatt_voltage(void)
req.channels = (1 << 9);
req.method = TWL4030_MADC_SW1;
req.func_cb = NULL;
twl4030_madc_conversion(&req);
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