summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sirfsoc_wdt.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-07-22 23:22:59 +0300
committerWim Van Sebroeck <wim@iguana.be>2017-09-09 21:52:13 +0300
commitdd0a18ca4cbdce00bc2b2e0510793205af27c7c5 (patch)
tree03e6fd7fd2894b2705f55f80a75c8eeae7326526 /drivers/watchdog/sirfsoc_wdt.c
parent15210ad18fcbd7f53f40e26e4391710d271c2daf (diff)
downloadlinux-dd0a18ca4cbdce00bc2b2e0510793205af27c7c5.tar.xz
watchdog: bcm7038: Check the return value from clk_prepare_enable()
clk_prepare_enable() may fail, so we should better check its return value and propagate it in the case of error. 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>
Diffstat (limited to 'drivers/watchdog/sirfsoc_wdt.c')
0 files changed, 0 insertions, 0 deletions