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

2019-07-28 Thread Chuhong Yuan
Jonathan Cameron 于2019年7月28日周日 上午1:08写道: > > On Fri, 26 Jul 2019 17:08:29 +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 > Hi, > > This should have been split a

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

2019-07-27 Thread Jonathan Cameron
On Fri, 26 Jul 2019 17:08:29 +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 Hi, This should have been split along the lines of the drivers as these have different authors a

[PATCH] iio: light: 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/light/cm3323.c | 31 ++- drivers/iio/light/si1145.c | 44 ++ 2 files changed, 27 insert