]> 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)
commitb6808b9d462dcd07ea47ca0bd53337732ae1a324
tree95805d07e933ae5eb7640809c3cf805846931bfb
parent0f5a1b4cb0d3c4972ff169668c86181c78780b51
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