Re: [PATCH] iio: humidity: Use device-managed APIs

2019-07-27 Thread Jonathan Cameron
On Fri, 26 Jul 2019 16:02:55 +0800 Chuhong Yuan wrote: > Use device-managed APIs to simplify the code. > The remove functions are redundant now and can > be deleted. > > Signed-off-by: Chuhong Yuan This one I've tidied up and applied, but see note below. Also, two patches would have been

[PATCH] iio: humidity: Use device-managed APIs

2019-07-26 Thread Chuhong Yuan
Use device-managed APIs to simplify the code. The remove functions are redundant now and can be deleted. Signed-off-by: Chuhong Yuan --- drivers/iio/humidity/am2315.c | 21 - drivers/iio/humidity/hdc100x.c | 18 -- 2 files changed, 8 insertions(+), 31