OpenCloudOS-Kernel/drivers/scsi/aic94xx
Greg Kroah-Hartman e14a396772 scsi: remove DRIVER_ATTR() usage
It's better to use the DRIVER_ATTR_RW() and DRIVER_ATTR_RO() macros to
explicitly show that this is a read/write or read/only sysfs file.  So
convert the remaining SCSI drivers that use the old style to use the
newer macros.

Bonus is that this removes some checkpatch.pl warnings :)

This is part of a series to drop DRIVER_ATTR() from the tree entirely.

Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Sumit Saxena <sumit.saxena@broadcom.com>
Cc: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Cc: Willem Riede <osst@riede.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-08-07 14:04:02 -04:00
..
Kconfig
Makefile scsi: change to new flag variable 2011-03-17 14:05:35 +01:00
aic94xx.h libsas: remove task_collector mode 2014-11-27 16:40:24 +01:00
aic94xx_dev.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
aic94xx_dump.c aix94xx: Use angle brackets for system includes 2011-09-15 14:02:57 +02:00
aic94xx_dump.h
aic94xx_hwi.c scsi: aic94xx: Add a missing call to kfree 2016-11-29 11:21:49 -05:00
aic94xx_hwi.h
aic94xx_init.c scsi: remove DRIVER_ATTR() usage 2017-08-07 14:04:02 -04:00
aic94xx_reg.c
aic94xx_reg.h
aic94xx_reg_def.h Fix common misspellings 2011-03-31 11:26:23 -03:00
aic94xx_sas.h scsi: Centralise ssp frame information units 2015-11-25 22:12:50 -05:00
aic94xx_scb.c [SCSI] isci: export phy events via ->lldd_control_phy() 2011-10-02 13:24:26 -05:00
aic94xx_sds.c aic94xx: Skip reading user settings if flash is not found 2015-08-28 13:14:54 -07:00
aic94xx_sds.h
aic94xx_seq.c treewide: Fix typos in printk 2016-04-18 11:23:24 +02:00
aic94xx_seq.h
aic94xx_task.c Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2014-12-11 18:52:37 -08:00
aic94xx_tmf.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00