diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-03 11:05:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-04 15:28:34 +0200 |
commit | 39ee156c5ac1b9ca42cb7086c7893b19596c85ab (patch) | |
tree | 45ec78a03ed4e81af94802b821335f8cdac7fd4b /drivers/char/mem.c | |
parent | eeprom: ee1004: Remove not needed debug message (diff) | |
download | linux-39ee156c5ac1b9ca42cb7086c7893b19596c85ab.tar.xz linux-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