mfd: tps80031: fix compilation warning
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 19 Jul 2012 10:13:58 +0000 (15:13 +0530)
committerSimone Willett <swillett@nvidia.com>
Mon, 23 Jul 2012 17:39:45 +0000 (10:39 -0700)
commitcc3732d057f6bcb46b6fc2a68c91ca90b451b137
treef3d5dc8c582bb91b8519acc722f89cd3f082ff13
parent1148982c9a04d1cab9c878bc67fe4a369485105a
mfd: tps80031: fix compilation warning

Fixing compilation warning:

kernel/drivers/mfd/tps80031.c: In function 'tps80031_init_ext_control.isra.4':
kernel/drivers/mfd/tps80031.c:594:6: warning: 'ret' is used uninitialized in this
function [-Wuninitialized]

Change-Id: I7d9cfab7b03ffe085ef4db7c9b08b0f2cb4e6fec
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/117329
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/mfd/tps80031.c