iio: tsl2772: Use regulator_bulk_() APIs
authorChuhong Yuan <hslester96@gmail.com>
Thu, 1 Aug 2019 07:36:19 +0000 (15:36 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 5 Aug 2019 15:33:21 +0000 (16:33 +0100)
commita6513a878e2115911f8aff656ca3beac7bb8242c
tree21e96a80f1d2b6f8234ad9675bcb687ba369b041
parent7e7f631c95467bcf01e7bc94ec69df9feaed7751
iio: tsl2772: Use regulator_bulk_() APIs

Use regulator_bulk_() APIs to shrink driver size.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Reviewed-by: Brian Masney <masneyb@onstation.org>
Tested-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/tsl2772.c