summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorSean Nyekjaer <sean@geanix.com>2025-09-09 10:11:11 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-10 21:50:03 +0300
commit661facba437e37c1685606825b9fd59be3f78771 (patch)
tree81be26469a9c87c831174a62dcd3b772fdf89f45 /rust/helpers/platform.c
parentee8fc40257bc7cf6100fdf0b1cd770dc264f6c2e (diff)
downloadlinux-661facba437e37c1685606825b9fd59be3f78771.tar.xz
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/platform.c')
0 files changed, 0 insertions, 0 deletions