summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorMugilraj Dhavachelvan <dmugil2000@gmail.com>2021-03-14 23:27:09 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-25 19:13:52 +0000
commit2662e81745fc00cafcbbb532018013607cae84e0 (patch)
tree902b929773195b6c002a5d0e493d595eba76af84 /drivers/staging
parent85ece364065eb068439ca3fe4f11d096575d3074 (diff)
iio:dac:max517.c: Use devm_iio_device_register()
Use devm_iio_device_register() to avoid remove function and drop explicit call to iio_device_unregister(). Signed-off-by: Mugilraj Dhavachelvan <dmugil2000@gmail.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20210314175709.34301-1-dmugil2000@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions