diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-28 16:05:33 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-17 17:16:10 +0100 |
commit | fba730dd8ad14770a35400d61b09d1f5197c162a (patch) | |
tree | 80d729166fd1e5523431057e31f3f33f1def9c7a /drivers/phy | |
parent | iio: adc: max1363: Use automatic cleanup for locks and iio mode claiming. (diff) | |
download | linux-fba730dd8ad14770a35400d61b09d1f5197c162a.tar.xz linux-fba730dd8ad14770a35400d61b09d1f5197c162a.zip |
iio: proximity: sx9360: Use automated cleanup for locks and IIO mode claiming.
This simplifies error handling paths and generallly removes a bunch
of boilerplate.
Reviewed-by: Nuno Sa <nuno.a@analog.com>
Link: https://lore.kernel.org/r/20240128150537.44592-7-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions