summaryrefslogtreecommitdiffstats
path: root/drivers/char/mem.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-06-03 17:05:06 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-04 15:28:34 +0200
commit39ee156c5ac1b9ca42cb7086c7893b19596c85ab (patch)
tree45ec78a03ed4e81af94802b821335f8cdac7fd4b /drivers/char/mem.c
parent2fa7d74ff54e8c99f7cf04e1749bfca8f8e12e98 (diff)
downloadlinux-stable-39ee156c5ac1b9ca42cb7086c7893b19596c85ab.tar.gz
linux-stable-39ee156c5ac1b9ca42cb7086c7893b19596c85ab.tar.bz2
linux-stable-39ee156c5ac1b9ca42cb7086c7893b19596c85ab.zip
EISA: use DEVICE_ATTR_RO() helper macro
Use DEVICE_ATTR_RO() helper macro instead of DEVICE_ATTR(), which makes the code a bit shorter and easier to read. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Link: https://lore.kernel.org/r/20210603090506.11771-1-thunder.leizhen@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/mem.c')
0 files changed, 0 insertions, 0 deletions