From: Wei Yongjun Date: Sat, 7 Dec 2013 06:02:15 +0000 (+0800) Subject: mfd: sec-core: Fix sparse NULL pointer warning X-Git-Tag: next-20131210~38^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ca78a7cbea9b2e5aef6d4a1717a704b401176607;p=karo-tx-linux.git 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 Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index 3a20b47d065b..87fa1e653cb6 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c @@ -199,7 +199,7 @@ static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata( static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata( struct device *dev) { - return 0; + return NULL; } #endif