iio: hi8435: Drop hi8435_remove() by using devres for remaining elements
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sun, 11 Aug 2019 05:45:45 +0000 (22:45 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 11 Aug 2019 08:59:38 +0000 (09:59 +0100)
commitef19ee60f9cf713518c1d5e15946466d51e9f00b
tree5a416d9730c1d8cda7caf95b4acf6664ae5031d4
parent6822dc9daa26102161e58a96b2ca938d14696006
iio: hi8435: Drop hi8435_remove() by using devres for remaining elements

Convert the remainder of hi8435_probe() to use devres and get rid of
hi8435_remove().

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: Chris Healy <cphealy@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/hi8435.c