-
由 Daniel Mack 提交于
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: NRafael J. Wysocki <rjw@sisk.pl> Signed-off-by: NDaniel Mack <daniel@caiaq.de> Tested-by: NRafael J. Wysocki <rjw@sisk.pl> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
bbabb158