From: Tony Lindgren Date: Tue, 9 Sep 2008 17:40:43 +0000 (-0700) Subject: I2C: Initiallize func_cb to NULL X-Git-Tag: v2.6.27-omap1~235 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5fe13fd573761a0235779ad519a74307a995f372;p=linux-2.6-omap-h63xx.git I2C: Initiallize func_cb to NULL As pointed out by Adrian Hunter. Signed-off-by: Tony Lindren --- 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];