diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-07-22 22:22:59 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2017-09-09 20:52:13 +0200 |
commit | dd0a18ca4cbdce00bc2b2e0510793205af27c7c5 (patch) | |
tree | 03e6fd7fd2894b2705f55f80a75c8eeae7326526 /drivers/watchdog/da9063_wdt.c | |
parent | watchdog: qcom: Check for platform_get_resource() failure (diff) | |
download | linux-dd0a18ca4cbdce00bc2b2e0510793205af27c7c5.tar.xz linux-dd0a18ca4cbdce00bc2b2e0510793205af27c7c5.zip |
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/da9063_wdt.c')
0 files changed, 0 insertions, 0 deletions