diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-28 20:57:50 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-05-28 20:40:29 -0300 |
commit | 33e823460081759119193f2724e8abc16c98b248 (patch) | |
tree | a31ec66ad2ec5f92a25c946f6caf1df6c8a2d274 /drivers/leds/leds-pca9532.c | |
parent | c5b8eaf8afd8c2711233a344a5e2e8e4aa562301 (diff) |
RDMA/srp: Use DEVICE_ATTR_*() macros
Use DEVICE_ATTR_*() helpers instead of plain DEVICE_ATTR, which makes the
code a bit shorter and easier to read.
Link: https://lore.kernel.org/r/20210528125750.20788-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/leds/leds-pca9532.c')
0 files changed, 0 insertions, 0 deletions