mfd: rtsx: Prevent 'used uninitialised' warnings
authorLee Jones <lee.jones@linaro.org>
Tue, 3 Dec 2013 09:26:33 +0000 (17:26 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:27:47 +0000 (08:27 +0000)
commit4acf12227f86fee9d262bf7400caaee85e64cd6d
tree0adaf1a6f8e309ecd58ed6851a47fdc0fc78a5c1
parent658a8ef118c2287d3b680197e40453870ab99d1c
mfd: rtsx: Prevent 'used uninitialised' warnings

drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings':
drivers/mfd/rtl8411.c:58:7: warning: 'reg1' is used uninitialized in this function [-Wuninitialized]
drivers/mfd/rtl8411.c: In function 'rtl8411b_fetch_vendor_settings':
drivers/mfd/rtl8411.c:79:7: warning: 'reg' is used uninitialized in this function [-Wuninitialized]
drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings':
drivers/mfd/rtl8411.c:69:26: warning: 'reg3' may be used uninitialized in this function [-Wuninitialized]

Tested-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rtl8411.c