]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: bq25890: Add bq25890_set_otg_cfg() helper
authorHans de Goede <hdegoede@redhat.com>
Tue, 1 Feb 2022 13:06:55 +0000 (14:06 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 1 Feb 2022 13:55:11 +0000 (14:55 +0100)
commitbae7f77cd5df34b4c8c15c5041472471afd0ff2e
tree929d720b80f70e96acb76b77c47468743772d873
parentee1632fab2d8030d21ca0d084372ddb77aaba2f3
power: supply: bq25890: Add bq25890_set_otg_cfg() helper

Add a bq25890_set_otg_cfg() helper function, this is a preparation
patch for adding regulator support.

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