diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-28 23:17:11 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-09-28 23:17:11 +0200 |
commit | cda3b9178510297ac968b7e129e20caaaa66c581 (patch) | |
tree | fa707da793633dc220702a0782f4bde3045da754 /kernel | |
parent | watchdog: wdat_wdt: fix return value check in wdat_wdt_probe() (diff) | |
download | linux-cda3b9178510297ac968b7e129e20caaaa66c581.tar.xz linux-cda3b9178510297ac968b7e129e20caaaa66c581.zip |
watchdog: wdat_wdt: Fix warning for using 0 as NULL
Fixes the following sparse warnings:
drivers/watchdog/wdat_wdt.c:210:66: warning: Using plain integer as NULL pointer
drivers/watchdog/wdat_wdt.c:235:66: warning: Using plain integer as NULL pointer
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions