summaryrefslogtreecommitdiff
path: root/drivers/acpi/apei
diff options
context:
space:
mode:
authorGreg KH <gregkh@linuxfoundation.org>2013-08-21 04:11:49 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 21:52:25 +0400
commit65f44679580de05d267f026ed8164539ec5c7a88 (patch)
tree20b01d30397e27fbcf15f0d21e252b88d5149bf0 /drivers/acpi/apei
parenta749245168ccda07b4200a8d55e2042679b7ecd4 (diff)
downloadlinux-65f44679580de05d267f026ed8164539ec5c7a88.tar.xz
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/acpi/apei')
0 files changed, 0 insertions, 0 deletions