Ben Dooks f779998872 watchdog: starfive: add lock annotations to fix context imbalances
Add the necessary __acquires() and __releases() to the functions
that take and release the wdt lock to avoid the following sparse
warnings:

drivers/watchdog/starfive-wdt.c:204:13: warning: context imbalance in 'starfive_wdt_unlock' - wrong count at exit
drivers/watchdog/starfive-wdt.c:212:9: warning: context imbalance in 'starfive_wdt_lock' - unexpected unlock

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231122085118.177589-1-ben.dooks@codethink.co.uk
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2023-12-17 16:14:24 +01:00
..
2023-12-17 16:14:22 +01:00
2023-10-29 19:45:04 +01:00
2023-11-10 09:19:46 -08:00
2021-06-22 12:40:31 +02:00
2021-07-07 12:57:46 -07:00
2022-07-23 14:21:28 +02:00
2023-01-10 23:10:27 +01:00