From 8e39fd61ad34831ceefc1dafd12701d898b6108b Mon Sep 17 00:00:00 2001 From: Philip Rakity Date: Mon, 8 Jul 2013 19:02:41 +0100 Subject: tlv320aic3xxx: Fix warning message on compiling kernel Change-Id: Ic8ed6bd9ea344f9a18d14b9a0e2b9e37da37ceb2 Signed-off-by: Philip Rakity Reviewed-on: http://git-master/r/246185 Reviewed-by: Rahul Mittal Reviewed-by: Eric Miao Reviewed-by: Laxman Dewangan --- drivers/mfd/tlv320aic3xxx-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/mfd/tlv320aic3xxx-core.c b/drivers/mfd/tlv320aic3xxx-core.c index d765f8b10407..feb82b0f59e2 100644 --- a/drivers/mfd/tlv320aic3xxx-core.c +++ b/drivers/mfd/tlv320aic3xxx-core.c @@ -165,7 +165,7 @@ EXPORT_SYMBOL_GPL(aic3xxx_reg_read); int aic3xxx_bulk_read(struct aic3xxx *aic3xxx, unsigned int reg, int count, u8 *buf) { - int ret; + int ret = 0; int count_temp = count; union aic3xxx_reg_union *aic_reg = (union aic3xxx_reg_union *) ® u8 book, page, offset; -- cgit v1.2.3