watchdog: iTCO: Drop driver-internal locking
authorGuenter Roeck <linux@roeck-us.net>
Sat, 17 May 2025 16:09:36 +0000 (09:09 -0700)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 1 Jun 2025 11:16:25 +0000 (13:16 +0200)
commit27a46a0f088692bca08165e320e0293fd02638e2
tree519dd9c3f9c1a06cf56b4c453984b5ddc3b49d68
parent45f1884d5cf2f66736d84bc11d023a7cc82b8838
watchdog: iTCO: Drop driver-internal locking

The locking code in the iTCO watchdog driver has been carried along from
before the watchdog core existed. The watchdog core protects calls into
drivers since commit f4e9c82f64b5 ("watchdog: Add Locking support"),
making driver-internal locking unnecessary. Drop it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Link: https://lore.kernel.org/r/20250517160936.3231017-1-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/iTCO_wdt.c