Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 005718c0 authored by Wei Yongjun's avatar Wei Yongjun Committed by Lee Jones
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent ec9e4ba6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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