iio: humidity: Use device-managed APIs
authorChuhong Yuan <hslester96@gmail.com>
Fri, 26 Jul 2019 08:02:55 +0000 (16:02 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 21:52:06 +0000 (22:52 +0100)
commit23f1ce3c08aad743cd828ca5a36946f043ecf0f1
treeb46faa3a98333d0b9699f353a50ed247446223b3
parent857ba268f918dec28470c2074e7c69ccad52547e
iio: humidity: Use device-managed APIs

Use device-managed APIs to simplify the code.
The remove functions are redundant now and can
be deleted.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/am2315.c
drivers/iio/humidity/hdc100x.c