]> git.hungrycats.org Git - linux/commit
hwmon: (adt7411) Use scoped_guard() to acquire the subsystem lock
authorGuenter Roeck <linux@roeck-us.net>
Wed, 13 May 2026 14:22:02 +0000 (07:22 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 9 Jun 2026 15:23:00 +0000 (08:23 -0700)
commit692c9f26424be53b871f9ef5eca8085824137066
tree6ae6c3686067a4489ddd4b52735522a2cddab3bc
parentbfca8aba91dbfac0cbf84c04dc899b482c4e0b0d
hwmon: (adt7411) Use scoped_guard() to acquire the subsystem lock

Use scoped_guard() instead of hwmon_lock() / hwmon_unlock() to acquire
and release the hardware monitoring subsystem lock.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7411.c