diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-03 17:05:06 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-04 15:28:34 +0200 |
commit | 39ee156c5ac1b9ca42cb7086c7893b19596c85ab (patch) | |
tree | 45ec78a03ed4e81af94802b821335f8cdac7fd4b /fs/block_dev.c | |
parent | 2fa7d74ff54e8c99f7cf04e1749bfca8f8e12e98 (diff) |
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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions