diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-11 18:00:29 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-17 01:58:31 +0200 |
commit | 526a12c8c56e80930621cedcf8b5f2fc3a169037 (patch) | |
tree | a9ea05d0b37a4abbaea3bee53a659f8229874e95 /drivers/infiniband/hw/qib | |
parent | RDMA/core: Expose the ib port sysfs attribute machinery (diff) | |
download | linux-526a12c8c56e80930621cedcf8b5f2fc3a169037.tar.xz linux-526a12c8c56e80930621cedcf8b5f2fc3a169037.zip |
RDMA/cm: Use an attribute_group on the ib_port_attribute intead of kobj's
This code is trying to attach a list of counters grouped into 4 groups to
the ib_port sysfs. Instead of creating a bunch of kobjects simply express
everything naturally as an ib_port_attribute and add a single
attribute_groups list.
Remove all the naked kobject manipulations.
Link: https://lore.kernel.org/r/0d5a7241ee0fe66622de04fcbaafaf6a791d5c7c.1623427137.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions