OSDN Git Service

enclosure: convert class code to use dev_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:05:16 +0000 (15:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:39:04 +0000 (15:39 -0700)
commit899826f16a034f1ab6d23cd5b60cd113eaefad19
treed4b7151dde4afb824ead028093f2021769fc2b52
parenteb375597e2d456499bfa427fb398ab36bdc837e5
enclosure: convert class code to use dev_groups

The dev_attrs field of struct class is going away soon, dev_groups
should be used instead.  This converts the enclosure class code to use
the correct field.

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/enclosure.c