From: Daniel Mack Date: Tue, 25 May 2010 00:39:45 +0000 (+0200) Subject: power_supply: Fix regression for 'type' property X-Git-Tag: v2.6.35-rc1~272^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbabb158f0e9d41174ae5c2183a8e4f981daf6ce;p=pandora-kernel.git power_supply: Fix regression for 'type' property Commit 5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4 (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: Rafael J. Wysocki Signed-off-by: Daniel Mack Tested-by: Rafael J. Wysocki Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed