From: Greg KH Date: Wed, 21 Aug 2013 00:11:49 +0000 (-0700) Subject: ACPI: bgrt: take advantage of binary sysfs groups X-Git-Tag: v3.12-rc1~184^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65f44679580de05d267f026ed8164539ec5c7a88;p=pandora-kernel.git 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 Acked-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman -- 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(-) --- Reading git-diff-tree failed