diff options
author | Alexandru Ardelean <[email protected]> | 2021-09-13 14:53:08 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2021-10-17 11:05:54 +0100 |
commit | da6fd2590940803aae1426a30a64c95da8157cf8 (patch) | |
tree | 5c5fb1f54a30dbb099f8eea6384fe3b8c68e73bd /lib/mpi/mpiutil.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions