]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c201e8c28423840fe2702967a8be177010d1393
tree03752d64bbd8e91d6b934489dbb78c1d5076c16d
parent2023dd163da2d570c71b85bedd506823ed1561b8
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