summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mvebu/pinctrl-armada-370.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2015-05-19 20:45:03 +0300
committerDarren Hart <dvhart@linux.intel.com>2015-05-20 12:18:12 +0300
commit5fb73bc2c8301ad106df0e858e60875cd2ae95cb (patch)
treeaba49a41e648cf5076964ed8a62d7d1d5f79248f /drivers/pinctrl/mvebu/pinctrl-armada-370.c
parentdf6dd1b35b0ec0ac6a5298378ceaf487091f448c (diff)
downloadlinux-5fb73bc2c8301ad106df0e858e60875cd2ae95cb.tar.xz
thinkpad_acpi: Revert unintentional device attribute renaming
The conversion to DEVICE_ATTR_* macros failed to fixup a few cases where the old attribute names didn't match the show/store function names. Instead of renaming the functions, the attributes were renamed. This caused an unintentional API change. The hwmon required 'name' attribute were among the renamed attribute, causing libsensors to fail to detect the hwmon device at all. Fix by using the DEVICE_ATTR macro for these attributes, allowing the show/store functions to keep their system specific prefixes. Fixes: b4dd04ac6ef8 ("thinkpad_acpi: use DEVICE_ATTR_* macros") Cc: Bastien Nocera <hadess@hadess.net> Signed-off-by: Bjørn Mork <bjorn@mork.no> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl/mvebu/pinctrl-armada-370.c')
0 files changed, 0 insertions, 0 deletions