]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite057fb72e3e39585d221541281eb5ad68285b340
tree5a416d9730c1d8cda7caf95b4acf6664ae5031d4
parentc754ee9754d832f4ec18497442aa5bbd6eec3e4d
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