diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-06-23 19:00:54 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2022-07-15 11:40:08 +0900 |
commit | 2472934e36b51bbdf0a7cdd5e351910d9002c6ac (patch) | |
tree | 3a9308358ba289977138a1b2b04a9f608d696a12 /lib/percpu-refcount.c | |
parent | c9deb748683851737c5e4df623c3283c185cd8f0 (diff) |
PM / devfreq: imx-bus: use NULL to pass a null pointer rather than zero
The 3rd argument to the function of_get_property is a pointer and it is
being passed using 0. Use NULL instead.
Cleans up sparse warning:
warning: Using plain integer as NULL pointer
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'lib/percpu-refcount.c')
0 files changed, 0 insertions, 0 deletions