diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-28 15:05:31 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-17 16:16:10 +0000 |
| commit | b6dde1092395088aff1263738c40233d04a7d897 (patch) | |
| tree | 14d467a852ab7ac6eb934dcfbb11dc0daeea1c26 /tools/perf/scripts/python | |
| parent | iio: accel: adxl367: Use automated cleanup for locks and iio direct mode. (diff) | |
| download | linux-b6dde1092395088aff1263738c40233d04a7d897.tar.gz linux-b6dde1092395088aff1263738c40233d04a7d897.zip | |
iio: imu: bmi323: Use cleanup handling for iio_device_claim_direct_mode()
Similar to existing use of guard() in this driver,
iio_device_claim_direct_scoped() will ensure that scope based cleanup
occurs.
Reviewed-by: Nuno Sa <nuno.a@analog.com>
Link: https://lore.kernel.org/r/20240128150537.44592-5-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
