]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adc:ad7476: Fix remove handling
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 1 Apr 2021 17:17:57 +0000 (18:17 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 7 Apr 2021 07:36:39 +0000 (08:36 +0100)
commit84a0b60df634a14a5aa5ceed428c440c61a1c1f6
treeb388860b696ef12cc1291920d3a497fc5f3f6283
parent378945e370ed8a741e1518fdc78c6eb03e66f5c5
iio:adc:ad7476: Fix remove handling

This driver was in an odd half way state between devm based cleanup
and manual cleanup (most of which was missing).
I would guess something went wrong with a rebase or similar.
Anyhow, this basically finishes the job as a precursor to improving
the regulator handling.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Fixes: e9c5ea4029fdd ("iio: adc: ad7476: implement devm_add_action_or_reset")
Cc: Michael Hennerich <michael.hennerich@analog.com>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210401171759.318140-2-jic23@kernel.org
drivers/iio/adc/ad7476.c