commit | 66df386d0b7480b53e41b4a510db29fc94059249 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Tue Oct 12 16:35:52 2021 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Sat Oct 16 21:45:58 2021 -0400 |
tree | 287cbbcbd0f2f0ee08aaf0607a6641d3e9c30abc | |
parent | f8f8f857e7df0bdc96d7eaa713f91792e74a9d08 [diff] |
scsi: qla2xxx: Switch to attribute groups struct device supports attribute groups directly but does not support struct device_attribute directly. Hence switch to attribute groups. Additionally, remove qla_insert_tgt_attrs() and replace it with qla_host_attr_is_visible(). Link: https://lore.kernel.org/r/20211012233558.4066756-41-bvanassche@acm.org Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>