Fabio Estevam 15210ad18f watchdog: qcom: Check for platform_get_resource() failure
platform_get_resource() may fail, so we should better check its
return value and propagate an error in case it fails.

This avoids a NULL pointer dereference a bit later in the code.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2017-09-09 20:50:35 +02:00
..
2017-02-24 14:00:23 -08:00
2016-12-24 11:27:45 -08:00
2016-12-24 11:27:45 -08:00
2017-06-05 20:37:17 +02:00
2016-05-14 18:25:56 +02:00
2014-03-31 13:28:20 +02:00