aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2021-09-03 10:37:07 +0300
committerJonathan Cameron <[email protected]>2021-09-14 12:00:34 +0100
commit9cec9be7af21a8f70f12d94e3b9ab85c08f96d36 (patch)
tree94c63cf4356a7eba65c58f9122e4d646ff2ef62c /lib/mpi/mpiutil.c
parent874b4912d94ffe2d01dc0a8c8a3ebf2c05c3ac29 (diff)
iio: adc: ti-ads8344: convert probe to device-managed
This change converts the driver to register via devm_iio_device_register(). The regulator disable is moved on a devm_add_action_or_reset() hook. And the spi_set_drvdata() isn't required anymore. And finally, the ads8344_remove() can be removed as well. 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