]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] sd: convert class code to use dev_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:05:28 +0000 (15:05 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 21 Aug 2013 17:10:48 +0000 (10:10 -0700)
commite1ea2351fba3b96b20107b4483b133137f653717
tree8a0b4a6fff6eaaba0114bb823be49f2a99dbf6be
parent584d88b2cd3b60507e708d2452651e4d3caa1b81
[SCSI] sd: 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 scsi disk class code to use
the correct field.

It required some functions to be moved around to place the show and
store functions next to each other, the old order seemed to make no
sense at all.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/sd.c