diff options
| author | Alexandru Ardelean <[email protected]> | 2021-09-03 10:29:14 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-10-19 08:27:34 +0100 |
| commit | 7a29120c6e31e2f2ce3a0bacdcbc5efaf6603589 (patch) | |
| tree | 6ec3931f1389355ac584802797291a4d2455136d /tools/perf/scripts/python | |
| parent | 25c02edfd41f0dd7aad9115149625d7e7f441b7d (diff) | |
iio: adc: intel_mrfld_adc: convert probe to full device-managed
The only call in the remove hook is the iio_map_array_unregister() call.
Since we have a devm_iio_map_array_register() function now, we can use that
and remove the remove hook entirely.
The IIO device was registered with the devm_iio_device_register() prior to
this change.
Also, the platform_set_drvdata() can be removed now, since it was used only
in the remove hook.
Signed-off-by: Alexandru Ardelean <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions