Re: [PATCH v3 2/2] iio: tsl2772: Use regulator_bulk_() APIs

2019-07-31 Thread Chuhong Yuan
Brian Masney 于2019年7月31日周三 下午5:40写道: > > Hi Chuhong, > > On Wed, Jul 31, 2019 at 11:04:23AM +0800, Chuhong Yuan wrote: > > Use regulator_bulk_() APIs to shrink driver size. > > > > Signed-off-by: Chuhong Yuan > > Just a few minor nitpicks below. Overall, this is looking nice. > > > --- > >

Re: [PATCH v3 2/2] iio: tsl2772: Use regulator_bulk_() APIs

2019-07-31 Thread Brian Masney
Hi Chuhong, On Wed, Jul 31, 2019 at 11:04:23AM +0800, Chuhong Yuan wrote: > Use regulator_bulk_() APIs to shrink driver size. > > Signed-off-by: Chuhong Yuan Just a few minor nitpicks below. Overall, this is looking nice. > --- > Changes in v3: > - Split v2 into two patches. > - Add

[PATCH v3 2/2] iio: tsl2772: Use regulator_bulk_() APIs

2019-07-30 Thread Chuhong Yuan
Use regulator_bulk_() APIs to shrink driver size. Signed-off-by: Chuhong Yuan --- Changes in v3: - Split v2 into two patches. - Add dev_err to log error messages. - Add a check for EPROBE_DEFER. drivers/iio/light/tsl2772.c | 82 +++-- 1 file changed, 24