]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: Drop iio_device_claim_direct_scoped() and related infrastructure
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 9 Feb 2025 18:06:24 +0000 (18:06 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Feb 2025 13:04:09 +0000 (13:04 +0000)
commit4c571885898c5c98934d086f2ab11b5e27e4f41f
treec587f3a0e716bcf608646920469a5be46be98d97
parent668d7167fc78f5fe59f0aad1e4f2705c8c9bd6cb
iio: Drop iio_device_claim_direct_scoped() and related infrastructure

Scoped conditional automated cleanup turned out to be harder to work
with than expected. Despite several attempts to find a better solution
non have surfaced. As such rip it out of the IIO code.

Reviewed-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250209180624.701140-28-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/iio.h