[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)
commitaf23782beff27e720318fc44495287b9961a88e1
tree66971f49df2d948f8d1250013a7e44e1deccd688
parent06047689a976de5f7cd1067971191cca4b77af1c
[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