Skip to content
Commit 19029f3f authored by ChenXiaoSong's avatar ChenXiaoSong Committed by Greg Kroah-Hartman
Browse files

debugfs: use DEFINE_SHOW_ATTRIBUTE to define debugfs_regset32_fops



Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.

Signed-off-by: default avatarChenXiaoSong <chenxiaosong2@huawei.com>
Link: https://lore.kernel.org/r/20220923102554.2443452-1-chenxiaosong2@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d70590d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment