[PATCH v2 0/4] scsi: use DEVICE_ATTR_*() macros to simplify code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v1 --> v2:
Combine these individual patches into a series.

Zhen Lei (4):
  scsi: qedi: use DEVICE_ATTR_RO macro
  scsi: qedf: use DEVICE_ATTR_RO macro
  scsi: megaraid_mbox: use DEVICE_ATTR_ADMIN_RO macro
  scsi: mvsas: use DEVICE_ATTR_RO/RW macro

 drivers/scsi/megaraid/megaraid_mbox.c | 18 ++++++++----------
 drivers/scsi/mvsas/mv_init.c          | 26 +++++++++-----------------
 drivers/scsi/qedf/qedf_attr.c         | 14 ++++++--------
 drivers/scsi/qedi/qedi_sysfs.c        | 14 +++++++-------
 4 files changed, 30 insertions(+), 42 deletions(-)

-- 
2.26.0.106.g9fadedd





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux