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

2019-07-27 Thread Jonathan Cameron
On Fri, 26 Jul 2019 18:49:50 +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 +CC Matt as I think this is one of his. I modified slightly and applied to the togreg branch of

[PATCH] iio: maxim_thermocouple: 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/temperature/maxim_thermocouple.c | 23 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/drivers/iio/temperature/