diff options
| author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2026-02-05 16:12:13 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-04 00:20:01 +0300 |
| commit | 8b012728ed9fb0f05d05c464a7faa04800e087bf (patch) | |
| tree | 6e61d944a1c12624c96fad6e278b03e0b6aead10 /include/linux/kernelcapi.h | |
| parent | 71d0d6a6cae028e0713c1373bf14751764f0f3aa (diff) | |
| download | linux-8b012728ed9fb0f05d05c464a7faa04800e087bf.tar.xz | |
iio: sca3000: manage device registration with devm helper
Convert the iio registration to use devm_* helpers so the probe no
longer needs a separate cleanup path and remove callback can also drop
the unregister. After this there is no need for having a remove
callback, so remote it.
No functional change intended.
Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: David Lechner <dlechner@baylibe.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/kernelcapi.h')
0 files changed, 0 insertions, 0 deletions
