st: convert to using driver attr groups for sysfs
authorSeymour, Shane M <shane.seymour@hp.com>
Tue, 23 Jun 2015 08:11:00 +0000 (08:11 +0000)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 12 Aug 2015 18:52:05 +0000 (11:52 -0700)
commit442d75628a3040bbfeb4a1f743b70a8afec0adbc
treebf3692a9f9317dad0582007987f4039355eee5d6
parent3ff448b5b7dc7ad4d664588c343da1e5e2ce18dd
st: convert to using driver attr groups for sysfs

This patch changes the st driver to use attribute groups so
driver sysfs files are created automatically. See the
following for reference:

http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/

Signed-off-by: Shane Seymour <shane.seymour@hp.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/st.c