diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-11 21:24:22 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 22:58:57 (GMT) |
commit | 0ebbf4397664d66f3e35503f2f3778a5e6377cbf (patch) | |
tree | 30316a8479fc529a2db9d40c0faca501fe3151a7 /drivers/ata | |
parent | 1748cbf7f7c464593232cde914f5a103181a83b5 (diff) | |
download | linux-0ebbf4397664d66f3e35503f2f3778a5e6377cbf.tar.xz |
drivers/rtc/rtc-nuc900.c: use NULL instead of 0
check_rtc_access_enable() returns pointer, thus NULL should be used
instead of 0 in order to fix the following sparse warning:
drivers/rtc/rtc-nuc900.c:102:16: warning: Using plain integer as NULL pointer
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions