scsi: snic: Convert to DEFINE_SHOW_ATTRIBUTE()
authordingsenjie <dingsenjie@yulong.com>
Wed, 31 Mar 2021 06:53:25 +0000 (14:53 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Apr 2021 03:41:38 +0000 (23:41 -0400)
commit54300bfd738b649004793ce138a29c30e900ec21
tree37729ad4d94c4498cad3a78e8e8c9caf2f089966
parent790f9a48abd0e4cd1b202b6093055c295d4b8e3d
scsi: snic: Convert to DEFINE_SHOW_ATTRIBUTE()

Use DEFINE_SHOW_ATTRIBUTE() macro to simplify the code.

Link: https://lore.kernel.org/r/20210331065326.18804-1-dingsenjie@163.com
Signed-off-by: dingsenjie <dingsenjie@yulong.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic_debugfs.c