Skip to content
Commit 6c100eb9 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio: adc: ti-adc081c: Use devm managed functions for all of probe()



Simplifies error handling and allows us to drop remove() entirely.

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarAlexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210516172520.1398835-6-jic23@kernel.org
parent 3c43b6e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment