[PATCH 4.19 04/88] power: supply: core: Refactor power_supply_set_input_current_limit_from_supplier()