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

2019-07-27 Thread Jonathan Cameron
On Fri, 26 Jul 2019 14:36:16 +0800 Chuhong Yuan wrote: > Use device-managed APIs to simplify the code. > The remove function is redundant now and can > be deleted. > > Signed-off-by: Chuhong Yuan Applied, with a similar change to the other patches I modified earlier. Applied to the togreg

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

2019-07-26 Thread Chuhong Yuan
Use device-managed APIs to simplify the code. The remove function is redundant now and can be deleted. Signed-off-by: Chuhong Yuan --- drivers/iio/accel/mxc4005.c | 35 +++ 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/drivers/iio/accel/mxc4005.c