Re: [PATCH v3 1/2] iio: tsl2772: Use device-managed API

2019-08-05 Thread Jonathan Cameron
On Wed, 31 Jul 2019 11:04:15 +0800 Chuhong Yuan wrote: > Use devm_() APIs to simplify the code. > > Signed-off-by: Chuhong Yuan > --- > Changes in v3: > - Split v2 into two patches. > > drivers/iio/light/tsl2772.c | 36 +++- > 1 file changed, 15

Re: [PATCH v3 1/2] iio: tsl2772: Use device-managed API

2019-07-31 Thread Brian Masney
Hi Chuhong, On Wed, Jul 31, 2019 at 11:04:15AM +0800, Chuhong Yuan wrote: > Use devm_() APIs to simplify the code. > > Signed-off-by: Chuhong Yuan There needs to be more of a changelog associated with this patch since this doesn't describe what all is done below. I see the following distinct

[PATCH v3 1/2] iio: tsl2772: Use device-managed API

2019-07-30 Thread Chuhong Yuan
Use devm_() APIs to simplify the code. Signed-off-by: Chuhong Yuan --- Changes in v3: - Split v2 into two patches. drivers/iio/light/tsl2772.c | 36 +++- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/drivers/iio/light/tsl2772.c