aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-12-07 01:02:15 -0500
committerLee Jones <lee.jones@linaro.org>2014-01-21 03:28:03 -0500
commit005718c08be33e28ab89e820256bcf1fad4a370a (patch)
tree41e09eca4148b7dc53ee622dfc58d9bafd5e665b /drivers
parentec9e4ba67e3782d5a9ec12754223a3f611810a93 (diff)
mfd: sec-core: Fix sparse NULL pointer warning
Fixes the following sparse warning: drivers/mfd/sec-core.c:202:16: warning: Using plain integer as NULL pointer Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/sec-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
index 3ad1b2fbee4a..56615af42a28 100644
--- a/drivers/mfd/sec-core.c
+++ b/drivers/mfd/sec-core.c
@@ -204,7 +204,7 @@ static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata(
204static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata( 204static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata(
205 struct device *dev) 205 struct device *dev)
206{ 206{
207 return 0; 207 return NULL;
208} 208}
209#endif 209#endif
210 210