diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-02 04:48:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-04 16:23:00 +0300 |
commit | 2877389f59dc455e4283ae23ad494b410c15b3a3 (patch) | |
tree | ee037a90e4ed262001babe07da6d9a72a13f36bf /drivers/tty/serial/sh-sci.c | |
parent | 3b2cd60689fa439481f535ee4463fb223a276f43 (diff) | |
download | linux-2877389f59dc455e4283ae23ad494b410c15b3a3.tar.xz |
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: David S. Miller <davem@davemloft.net>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210602014839.10587-1-thunder.leizhen@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sh-sci.c')
0 files changed, 0 insertions, 0 deletions