]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: marvell: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Mon, 3 Dec 2018 14:34:11 +0000 (09:34 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2018 01:33:44 +0000 (17:33 -0800)
commitd9bbd6a1a56eccb2b1198b8f2008d622982df0a1
tree292f301182acde8e5ae04ba051e3f9efcfcb6b47
parent25079154f71170f615f67c33d47af1188117668b
net: marvell: 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/ethernet/marvell/skge.c
drivers/net/ethernet/marvell/sky2.c