Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bbabb158 authored by Daniel Mack's avatar Daniel Mack Committed by Anton Vorontsov
Browse files

power_supply: Fix regression for 'type' property



Commit 5f487cd3 (power_supply: Use
attribute groups) causes a regression the power supply core does not
export the 'type' attribute anymore.

POWER_SUPPLY_PROP_TYPE is handled by the power supply core without the
low-level driver, so power_supply_attr_is_visible() must always return
the entry as readable.

Reported-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
Tested-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent 24af3202
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment