summaryrefslogtreecommitdiff
path: root/firmware/bnx2x
diff options
context:
space:
mode:
authorGreg KH <gregkh@linuxfoundation.org>2013-08-21 00:11:49 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 17:52:25 (GMT)
commit65f44679580de05d267f026ed8164539ec5c7a88 (patch)
tree20b01d30397e27fbcf15f0d21e252b88d5149bf0 /firmware/bnx2x
parenta749245168ccda07b4200a8d55e2042679b7ecd4 (diff)
downloadlinux-fsl-qoriq-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 'firmware/bnx2x')
0 files changed, 0 insertions, 0 deletions