Re: [PATCH v4 1/4] iio: tsl2772: Use devm_add_action_or_reset

2019-08-05 Thread Jonathan Cameron
On Thu, 1 Aug 2019 05:37:31 -0400 Brian Masney wrote: > On Thu, Aug 01, 2019 at 05:33:47AM -0400, Brian Masney wrote: > > On Thu, Aug 01, 2019 at 03:35:57PM +0800, Chuhong Yuan wrote: > > > Use devm_add_action_or_reset to remove the call to > > > tsl2772_disable_regulators_action to simplify th

Re: [PATCH v4 1/4] iio: tsl2772: Use devm_add_action_or_reset

2019-08-01 Thread Brian Masney
On Thu, Aug 01, 2019 at 05:33:47AM -0400, Brian Masney wrote: > On Thu, Aug 01, 2019 at 03:35:57PM +0800, Chuhong Yuan wrote: > > Use devm_add_action_or_reset to remove the call to > > tsl2772_disable_regulators_action to simplify the error path. > > > > Signed-off-by: Chuhong Yuan > > For the w

Re: [PATCH v4 1/4] iio: tsl2772: Use devm_add_action_or_reset

2019-08-01 Thread Brian Masney
On Thu, Aug 01, 2019 at 03:35:57PM +0800, Chuhong Yuan wrote: > Use devm_add_action_or_reset to remove the call to > tsl2772_disable_regulators_action to simplify the error path. > > Signed-off-by: Chuhong Yuan For the whole series: Reviewed-by: Brian Masney I forgot to mention this before, b

[PATCH v4 1/4] iio: tsl2772: Use devm_add_action_or_reset

2019-08-01 Thread Chuhong Yuan
Use devm_add_action_or_reset to remove the call to tsl2772_disable_regulators_action to simplify the error path. Signed-off-by: Chuhong Yuan --- Changes in v4: - Split v3 into three patches. - Revise description to make it more precise. drivers/iio/light/tsl2772.c | 6 +++--- 1 file changed