]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fnic: Switch to attribute groups
authorBart Van Assche <bvanassche@acm.org>
Tue, 12 Oct 2021 23:35:31 +0000 (16:35 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 17 Oct 2021 01:45:55 +0000 (21:45 -0400)
commit2877d9e161d3e398bf12779ca560d4dfb7d1bcdd
tree95805d07e933ae5eb7640809c3cf805846931bfb
parenteb687ebcd86884e05688e6ff839d8de9fd2a9b5d
scsi: fnic: Switch to attribute groups

struct device supports attribute groups directly but does not support
struct device_attribute directly. Hence switch to attribute groups.

Link: https://lore.kernel.org/r/20211012233558.4066756-20-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_attrs.c
drivers/scsi/fnic/fnic_main.c