mbox series

[v5,0/1] power: supply: Add new "charge_types" property

Message ID 20241221125140.345776-1-hdegoede@redhat.com (mailing list archive)
Headers show
Series power: supply: Add new "charge_types" property | expand

Message

Hans de Goede Dec. 21, 2024, 12:51 p.m. UTC
Here is v5 of my "charge_types" property series, most of this series
has already been merged, leaving only the dell-laptop patch.

Changes in v5:
- Drop patches 1-3 (already merged)
- dell-laptop: Return ENOENT instead of EIO in charge_types_store() when
  the requested mode was accepted by power_supply_charge_types_parse() but
  for some reason is not found in the battery_modes[] array

As already discussed since the dependencies are merged into
linux-power-supply/for-next this patch should also be merged through
linux-power-supply/for-next.

Ilpo, this new version addresses your review comment, can you please
provide your Acked-by for merging this through linux-power-supply/for-next?

Sebastian, can you merge this once acked by Ilpo?

Regards,

Hans


Hans de Goede (1):
  platform/x86: dell-laptop: Use power_supply_charge_types_show/_parse()
    helpers

 drivers/platform/x86/dell/dell-laptop.c | 54 ++++++++++++-------------
 1 file changed, 25 insertions(+), 29 deletions(-)