net: qca_spi: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Mon, 3 Dec 2018 14:26:38 +0000 (09:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2018 01:33:43 +0000 (17:33 -0800)
commit25079154f71170f615f67c33d47af1188117668b
tree5e71dcbc6fe1aecb4c61c97a66d3c9f2cad02d6a
parentfb0d9c6339e0d8d1eb09414a09df8513499bbf79
net: qca_spi: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/qca_debug.c