[SCSI] zfcp: cleanup port sysfs attribute usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 26 Apr 2013 14:13:48 +0000 (16:13 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 31 May 2013 23:32:36 +0000 (16:32 -0700)
commit83d4e1c33d9329e6d53cf4ac0a02c98ac83eba05
treea2c696af985b939f687c660ef65d15e6e655181b
parent8377dbc3cd376070145061212283c9e4a5afeb09
[SCSI] zfcp: cleanup port sysfs attribute usage

Let the driver core handle device attribute creation and removal. This
will simplify the code and eliminates races between attribute
availability and userspace notification via uevents.

Reviewed-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_fc.c
drivers/s390/scsi/zfcp_sysfs.c