Skip to content
Commit 2877389f authored by Zhen Lei's avatar Zhen Lei Committed by Greg Kroah-Hartman
Browse files

tty: vcc: use DEVICE_ATTR_*() macro



Use DEVICE_ATTR_*() macro helper instead of plain DEVICE_ATTR, which makes
the code a bit shorter and easier to read.

Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210602014839.10587-1-thunder.leizhen@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3b2cd606
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment