]> www.infradead.org Git - users/willy/xarray.git/commit
power: supply: ug3105_battery: Let the core handle POWER_SUPPLY_PROP_TECHNOLOGY
authorHans de Goede <hdegoede@redhat.com>
Sun, 15 Dec 2024 17:21:26 +0000 (18:21 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 20 Dec 2024 00:08:51 +0000 (01:08 +0100)
commitdb9d8eca3dc97d8d91d5e3fd878fb0bd0d8346d6
tree36dffb36d573a7300f58ac92cea2c599c90eddd3
parentde68987480cb92702eab14cf62ec2aa1bae5c867
power: supply: ug3105_battery: Let the core handle POWER_SUPPLY_PROP_TECHNOLOGY

The power-supply core already takes care of handling
POWER_SUPPLY_PROP_TECHNOLOGY based on the battery_info.

Drop the unnecessary handling from the driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241215172133.178460-4-hdegoede@redhat.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ug3105_battery.c