diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-02-20 16:25:19 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-02-24 00:00:47 +0300 |
| commit | 4d9fccb3e98712df571936ec3d31338e3b906690 (patch) | |
| tree | e95a6a918c894f5e1e721acad58551576fc0c5e7 /include/linux | |
| parent | b40be056eefe458698d75ff2b78ed853efdf5e8a (diff) | |
| download | linux-4d9fccb3e98712df571936ec3d31338e3b906690.tar.xz | |
iio: core: Simplify IIO core managed APIs
Use devm_add_action_or_reset() instead of devres_alloc() and
devres_add(), which works the same. This will simplify the
code. There is no functional changes.
While at it, inline devm_iio_kfifo_allocate() into its only user.
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
