watchdog: shwdt: Use finer grained clock control.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 10 May 2012 07:14:40 +0000 (16:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 10 May 2012 07:14:40 +0000 (16:14 +0900)
commitd42c97443da5a542201f6cbaf793606877115d05
tree10c0f14559b714d78ccc508d46350f1bfd2d6172
parent8c013d964ac32c20afe2cdeadf59926d87012b37
watchdog: shwdt: Use finer grained clock control.

The clk enable/disable pairs can be pushed down to start/stop rather than
probe/remove, along with the runtime PM callsites. This will allow us to
keep the block powered off until userspace comes along and decides to do
something with it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/watchdog/shwdt.c