aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2008-03-18 09:32:28 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-22 16:16:31 -0400
commitf7120a4f75168df3c02efacd10403a4ba0bcb29d (patch)
tree565f8c284ff4b06c626fcddcfa82d01a9bd0ad0b /drivers/scsi/hosts.c
parent352f6bb422bd31a80b4a0f1c3f19b6993df2508c (diff)
[SCSI] use default attributes for scsi_host
This patch removes the unused sysfs attibute overwriting logic for the scsi host attibutes, and plugs them into the driver core default attribute creation. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/hosts.c')
-rw-r--r--drivers/scsi/hosts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 63bed62f270e..4e811ca3270e 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -398,6 +398,7 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
398 shost->shost_dev.class = &shost_class; 398 shost->shost_dev.class = &shost_class;
399 snprintf(shost->shost_dev.bus_id, BUS_ID_SIZE, "host%d", 399 snprintf(shost->shost_dev.bus_id, BUS_ID_SIZE, "host%d",
400 shost->host_no); 400 shost->host_no);
401 shost->shost_dev.groups = scsi_sysfs_shost_attr_groups;
401 402
402 shost->ehandler = kthread_run(scsi_error_handler, shost, 403 shost->ehandler = kthread_run(scsi_error_handler, shost,
403 "scsi_eh_%d", shost->host_no); 404 "scsi_eh_%d", shost->host_no);