power: supply: bq25890: Use the devm_regmap_field_bulk_alloc() helper
authorHans de Goede <hdegoede@redhat.com>
Tue, 1 Feb 2022 13:06:59 +0000 (14:06 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 1 Feb 2022 13:55:12 +0000 (14:55 +0100)
commitc1ae3a4efbf53335a6422646759f43d682ebdaf8
tree03752d64bbd8e91d6b934489dbb78c1d5076c16d
parent48f45b094dbbf23620929b68afd32e865f712272
power: supply: bq25890: Use the devm_regmap_field_bulk_alloc() helper

Use the devm_regmap_field_bulk_alloc() helper function instead of
open-coding this ourselves.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25890_charger.c