commit | 3cbe01ac28a8ee52b40a8d0db0392493ed855c20 | [log] [tgz] |
---|---|---|
author | Dwaipayan Ray <dwaipayanray1@gmail.com> | Thu Dec 17 18:15:36 2020 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 14 16:56:12 2021 +0200 |
tree | d910b2dda701684fab9820b84aef3a7f31b79e4e | |
parent | d3dd2fe2743fbc83f7d15ab6932e5fba8b4b3d26 [diff] |
ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros [ Upstream commit 0f39ee8324e75c9d370e84a61323ceb194641a18 ] Instead of open coding DEVICE_ATTR(), use the DEVICE_ATTR_RW(), DEVICE_ATTR_RO() and DEVICE_ATTR_WO() macros wherever possible. This required a few functions to be renamed but the functionality itself is unchanged. Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>