diff options
author | Philip Rakity <prakity@nvidia.com> | 2013-07-08 19:02:41 +0100 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-07-12 16:56:34 -0700 |
commit | 8e39fd61ad34831ceefc1dafd12701d898b6108b (patch) | |
tree | e4447da7be3970951e042655be1f77355cfd62ff /drivers | |
parent | d6187487011eb8db117f6ee05d2eb8be0d045883 (diff) |
tlv320aic3xxx: Fix warning message on compiling kernel
Change-Id: Ic8ed6bd9ea344f9a18d14b9a0e2b9e37da37ceb2
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246185
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/tlv320aic3xxx-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |