]> 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)
commit8bc2ac8ada2acf67e90f8630e0656fdcc33964e8
treebf3692a9f9317dad0582007987f4039355eee5d6
parent25458016d7185bc0a19fd15498f3c031e31c24f0
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