regulator: rockchip: lp8752: fix up the compile warning
authorElaine Zhang <zhangqing@rock-chips.com>
Mon, 9 May 2016 09:46:14 +0000 (17:46 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Tue, 10 May 2016 01:20:40 +0000 (09:20 +0800)
commitfb1738eb002df3ba8c5dbedd1c96f2c65860720e
tree6ff59cb3de9f768a3e1725c27355fae79f333bbe
parente295c725bdcb53f0bf71042f0fb23075b435277b
regulator: rockchip: lp8752: fix up the compile warning

fix up the warning:
drivers/regulator/lp8752.c: In function 'lp8752_buck_set_mode':
drivers/regulator/lp8752.c:93:2: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]

Change-Id: Iee9f69791bbcea2e6b3a16713b76e93cfc0a2b67
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drivers/regulator/lp8752.c