From 5fe13fd573761a0235779ad519a74307a995f372 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Tue, 9 Sep 2008 10:40:43 -0700 Subject: [PATCH] I2C: Initiallize func_cb to NULL As pointed out by Adrian Hunter. Signed-off-by: Tony Lindren --- drivers/power/twl4030_bci_battery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/twl4030_bci_battery.c b/drivers/power/twl4030_bci_battery.c index 4e66a962555..aef8bbd2836 100644 --- a/drivers/power/twl4030_bci_battery.c +++ b/drivers/power/twl4030_bci_battery.c @@ -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]; -- 2.41.1