bus: mvebu-mbus: use DEFINE_SHOW_ATTRIBUTE to simplify mvebu_{sdram/devs}_debug
authorLiu Shixin <liushixin2@huawei.com>
Fri, 16 Sep 2022 14:12:44 +0000 (22:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2022 12:59:26 +0000 (14:59 +0200)
commita5ccec12acfaf3a7ebbbeb90555b35b275fce0df
tree380da938229d9cff50677b97f7652f79887b8036
parent711898b1d5ac37bc85a9495f3f2815f5fbd0a937
bus: mvebu-mbus: use DEFINE_SHOW_ATTRIBUTE to simplify mvebu_{sdram/devs}_debug

Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20220916141244.2174005-1-liushixin2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/mvebu-mbus.c