summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-03 12:03:27 +0100
committerGuenter Roeck <linux@roeck-us.net>2017-02-24 23:00:23 +0100
commit14da8d427eb8ea10d8fb78a1264583bb9b279231 (patch)
treead3b2285aa5742cecb0c29f5ae252e21d5998f06 /kernel
parentwatchdog: coh901327_wdt: Simplify error handling in probe function (diff)
downloadlinux-14da8d427eb8ea10d8fb78a1264583bb9b279231.tar.xz
linux-14da8d427eb8ea10d8fb78a1264583bb9b279231.zip
watchdog: coh901327_wdt: Keep clock enabled after loading driver
Enabling the clock before accessing chip registers and disabling it afterwards does not really make sense and only adds complexity to the driver. In addition to that, a comment int the driver suggests that it does not serve a useful purpose either. "The watchdog block is of course always clocked, the clk_enable()/clk_disable() calls are mainly for performing reference counting higher up in the clock hierarchy." Just keep the clock enabled instead. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions