ACPI: bgrt: take advantage of binary sysfs groups
commit65f44679580de05d267f026ed8164539ec5c7a88
authorGreg KH <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 00:11:49 +0000 (20 17:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 17:52:25 +0000 (21 10:52 -0700)
tree20b01d30397e27fbcf15f0d21e252b88d5149bf0
parenta749245168ccda07b4200a8d55e2042679b7ecd4
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(-)
drivers/acpi/bgrt.c