]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: dcdbas: use binary attribute groups
authorGreg KH <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 00:17:57 +0000 (17:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 05:07:49 +0000 (22:07 -0700)
commit6de7343afd534be43849dab8f38b4a828ca30c2b
treef543c18d9fa0b49805bcd02380e5cd0f9e5c2433
parent1d91e7a7b6b9da67b230766db160f98d37cc2cc4
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