diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-07 10:02:15 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 12:28:03 +0400 |
commit | 005718c08be33e28ab89e820256bcf1fad4a370a (patch) | |
tree | 41e09eca4148b7dc53ee622dfc58d9bafd5e665b /drivers/mfd/sec-core.c | |
parent | ec9e4ba67e3782d5a9ec12754223a3f611810a93 (diff) | |
download | linux-005718c08be33e28ab89e820256bcf1fad4a370a.tar.xz |
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/mfd/sec-core.c')
-rw-r--r-- | drivers/mfd/sec-core.c | 2 |
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( static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata( struct device *dev) { - return 0; + return NULL; } #endif |