diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-26 21:27:53 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-05-28 20:39:16 -0300 |
commit | 1f8f60f35f79210fe6af32fc62528bd5c0ace923 (patch) | |
tree | b8b9c758da5c36e0b6b79a5b9167ff195cbbe92f /drivers/infiniband/core/ucma.c | |
parent | d58c23c9254894d438ce5c516745cf694eac86b7 (diff) |
IB/ipoib: Use DEVICE_ATTR_*() macros
Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR, which makes the
code a bit shorter and easier to read.
Link: https://lore.kernel.org/r/20210526132753.3092-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/ucma.c')
0 files changed, 0 insertions, 0 deletions