Re: [PATCH -next] IB/ipoib: use DEVICE_ATTR_*() macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 26, 2021 at 09:27:53PM +0800, YueHaibing wrote:
> Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR,
> which makes the code a bit shorter and easier to read.
> 
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
>  drivers/infiniband/ulp/ipoib/ipoib_cm.c   | 10 ++++----
>  drivers/infiniband/ulp/ipoib/ipoib_main.c | 28 +++++++++++------------
>  drivers/infiniband/ulp/ipoib/ipoib_vlan.c |  6 ++---
>  3 files changed, 21 insertions(+), 23 deletions(-)

Applied to for-next. I touched it with clang-format to fix the spacing
issues.

Thanks,
Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux