summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-12-07 14:02:15 +0800
committerLee Jones <lee.jones@linaro.org>2014-01-21 08:28:03 +0000
commit005718c08be33e28ab89e820256bcf1fad4a370a (patch)
tree41e09eca4148b7dc53ee622dfc58d9bafd5e665b
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>
-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(
static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata(
struct device *dev)
{
- return 0;
+ return NULL;
}
#endif