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)
commit5575802d78b8c6130aaecb33f700b379f1fe5ecd
tree929d720b80f70e96acb76b77c47468743772d873
parentf481d5b80bd86ad39229c430d26513c096474578
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