[PATCH 5.10 11/22] power: supply: core: Refactor power_supply_set_input_current_limit_from_supplier()