]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: chemical: scd30: Switch to sparse friendly claim/release_direct()
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 9 Feb 2025 18:06:00 +0000 (18:06 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Feb 2025 12:57:30 +0000 (12:57 +0000)
commit403f0f9b3609b88fa2beb774893867a238f51a64
tree52262a0e87d7453cb62fe6c01e93cb290df85e7c
parent5feb5532870fbced5d6f450b8061a33f461b88ca
iio: chemical: scd30: Switch to sparse friendly claim/release_direct()

This driver caused a false positive with __cond_lock() style solution
but is fine with the simple boolean return approach now used.

Cc: Tomasz Duszynski <tomasz.duszynski@octakon.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250209180624.701140-4-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/scd30_core.c