[PATCH v4 4/9] iio: accel: kionix-kx022a: annotate the lock helpers
Matti Vaittinen
mazziesaccount at gmail.com
Tue Oct 27 23:16:11 PDT 2026
On 27/10/2026 14:49, Rupesh Majhi wrote:
> kx022a_turn_off_lock() returns with data->mutex held when it succeeds,
> and kx022a_turn_on_unlock() releases it. Annotate both so context
> analysis follows the lock into the callers.
>
> Signed-off-by: Rupesh Majhi <zoone.rupert at gmail.com>
Reviewed-by: Matti Vaittinen <mazziesaccount at gmail.com>
Thanks.
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
More information about the linux-arm-kernel
mailing list