]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebaa0f1afde9f25bf3d656c5f02aaeabf1e29b5a
treebf3692a9f9317dad0582007987f4039355eee5d6
parent81dfa1c550f88c181648b8280d3a82dcb73f858d
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