watchdog: wdat_wdt: Fix warning for using 0 as NULL
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 28 Sep 2016 21:17:11 +0000 (23:17 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Sep 2016 21:17:11 +0000 (23:17 +0200)
commitcda3b9178510297ac968b7e129e20caaaa66c581
treefa707da793633dc220702a0782f4bde3045da754
parent356ed043517dbceb646a9353831abde91062a395
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>
drivers/watchdog/wdat_wdt.c