bonding: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Mon, 10 Dec 2018 16:08:45 +0000 (11:08 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Dec 2018 20:05:20 +0000 (12:05 -0800)
commit4e6feb7adb9a69e51271eae4715d546507c1e998
tree1bc4472dfced752147a3a6e7ae074c1da96933e2
parenta93f5b56962538b85aa0594492aa27d539295d5e
bonding: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_debugfs.c