Re: [PATCH -next] Bluetooth: RFCOMM: Use DEVICE_ATTR_RO macro

From: Marcel Holtmann
Date: Thu May 20 2021 - 11:26:06 EST


Hi YueHaibing,

> Use DEVICE_ATTR_RO helper instead of plain DEVICE_ATTR,
> which makes the code a bit shorter and easier to read.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> net/bluetooth/rfcomm/tty.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel