watchdog: shwdt: Migrate to per-device locking.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 10 May 2012 06:15:08 +0000 (15:15 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 10 May 2012 06:15:08 +0000 (15:15 +0900)
commitf9fb360cb3440fb7d22ad7061de4e99235a97e1c
tree16c24b4c9b69c4c125e8182be6b01d4cb72519a9
parent1950f499df4eacb5d89cf0151f5edda139b800f4
watchdog: shwdt: Migrate to per-device locking.

Presently we've been using global locking for everything. Push the
locking down to the per-device level in preparation for per-CPU
watchdogs.

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