summaryrefslogtreecommitdiff
path: root/rust/helpers/rcu.c
diff options
context:
space:
mode:
authorSean Nyekjaer <sean@geanix.com>2025-09-09 09:11:11 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-10 19:50:03 +0100
commit661facba437e37c1685606825b9fd59be3f78771 (patch)
tree81be26469a9c87c831174a62dcd3b772fdf89f45 /rust/helpers/rcu.c
parentee8fc40257bc7cf6100fdf0b1cd770dc264f6c2e (diff)
iio: imu: inv_icm42600: use guard() to release mutexes
Replace explicit mutex_lock() and mutex_unlock() with the guard() macro for cleaner and safer mutex handling. Signed-off-by: Sean Nyekjaer <sean@geanix.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions