projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9e4ba
)
mfd: sec-core: Fix sparse NULL pointer warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Sat, 7 Dec 2013 06:02:15 +0000
(14:02 +0800)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:03 +0000
(08:28 +0000)
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>
drivers/mfd/sec-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/sec-core.c
b/drivers/mfd/sec-core.c
index 3ad1b2fbee4acc3350aa6d4f1a8253c7317fca4c..56615af42a281b6017584f4d6308b0672be388ad 100644
(file)
--- 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