diff options
author | Alexandru Ardelean <aardelean@deviqon.com> | 2021-09-13 14:53:08 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-17 11:05:54 +0100 |
commit | da6fd2590940803aae1426a30a64c95da8157cf8 (patch) | |
tree | 5c5fb1f54a30dbb099f8eea6384fe3b8c68e73bd /tools/perf/scripts/python | |
parent | 14a6ee6ec568463d1d1a800928194e769c6c802a (diff) |
iio: gyro: adis16080: use devm_iio_device_register() in probe
There is nothing else that needs to be done for this driver. The remove
hook calls only the iio_device_unregister() hook.
So this driver can use devm_iio_device_register() directly.
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210913115308.301877-1-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions