diff options
author | Greg KH <gregkh@linuxfoundation.org> | 2013-08-20 17:11:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 10:52:25 -0700 |
commit | 65f44679580de05d267f026ed8164539ec5c7a88 (patch) | |
tree | 20b01d30397e27fbcf15f0d21e252b88d5149bf0 /drivers/base/memory.c | |
parent | a749245168ccda07b4200a8d55e2042679b7ecd4 (diff) |
ACPI: bgrt: take advantage of binary sysfs groups
Attribute groups now can handle binary sysfs attributes, so clean up the
code here by using a binary attribute array. This saves us the extra
call to create the binary attribute at saves 6 lines overall.
Cc: Len Brown <lenb@kernel.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--
I can take this in my driver-core tree if someone from ACPI acks it,
otherwise, feel free to take it through the ACPI trees instead, just
let me know.
drivers/acpi/bgrt.c | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
Diffstat (limited to 'drivers/base/memory.c')
0 files changed, 0 insertions, 0 deletions