]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] st: Use static class attributes
authorJeff Mahoney <jeffm@suse.de>
Sat, 18 Aug 2012 19:20:37 +0000 (15:20 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 16:59:28 +0000 (17:59 +0100)
commit463292b6177d2f004dfbedc1df01e79d0e2ccffb
tree66971f49df2d948f8d1250013a7e44e1deccd688
parentb56951b86cfa7b368c98124c04628b2a025bc27f
[SCSI] st: Use static class attributes

st currently sets up and tears down class attributes manually for
every tape drive in the system. This patch uses a statically defined
class with class attributes to let the device core do it for us.

Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/st.c