watchdog: wdat_wdt: Fix warning for using 0 as NULL
authorWei Yongjun <[email protected]>
Wed, 28 Sep 2016 21:17:11 +0000 (23:17 +0200)
committerRafael J. Wysocki <[email protected]>
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 <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/watchdog/wdat_wdt.c