Skip to content
Commit 9fabdbe8 authored by Liu Shixin's avatar Liu Shixin Committed by Greg Kroah-Hartman
Browse files

staging: pi433: use DEFINE_SHOW_ATTRIBUTE to simplify pi433_debugfs_regs



Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.
No functional change.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20220922142548.3248951-1-liushixin2@huawei.com


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