]> git.baikalelectronics.ru Git - kernel.git/commit
block: aoe: use DEFINE_SHOW_ATTRIBUTE to simplify aoe_debugfs
authorLiu Shixin <liushixin2@huawei.com>
Thu, 15 Sep 2022 02:34:24 +0000 (10:34 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Sep 2022 01:49:24 +0000 (19:49 -0600)
commit62942ee3ca43d0fd7644b1b23bf00cc1a3c20cd1
tree9dd1aff1545fbdecab672c74d65e419b7a76807e
parent94f7e2407e6c88837087d4b76fbb9350c6c1feaa
block: aoe: use DEFINE_SHOW_ATTRIBUTE to simplify aoe_debugfs

Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20220915023424.3198940-1-liushixin2@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoeblk.c