firmware: dcdbas: use binary attribute groups
commit4c33dea7816a115a9bbcd7d9001674c7c3ba71ea
authorGreg KH <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 00:17:57 +0000 (20 17:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 05:07:49 +0000 (27 22:07 -0700)
treef543c18d9fa0b49805bcd02380e5cd0f9e5c2433
parentf799878000c5a9a1e6a311dfd4faa50601dcb1f8
firmware: dcdbas: use binary attribute groups

The dcdbas code was "hand rolling" a binary attribute group, which the
driver core now supports automatically.  So remove the "create the files
by hand" logic, and just set the proper field in the attribute group
structure, saving lots of code and headache.

Cc: Doug Warzecha <Douglas_Warzecha@dell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--

 Doug, I can take this through my driver-core tree if you don't object.

 drivers/firmware/dcdbas.c |   19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)
drivers/firmware/dcdbas.c