iio: maxim_thermocouple: Use device-managed APIs
authorChuhong Yuan <hslester96@gmail.com>
Fri, 26 Jul 2019 10:49:50 +0000 (18:49 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 21:52:06 +0000 (22:52 +0100)
commit8ecc8b2b78e6af55aa366db4da79be1c772d5e55
tree2e8b9acd155f5ede0dcefe529a7b24a4ffab1dc5
parent062809ef7733209312562e87cefc84a470430929
iio: maxim_thermocouple: 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/temperature/maxim_thermocouple.c