cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE()
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 15 Dec 2018 07:59:30 +0000 (02:59 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Dec 2018 19:21:22 +0000 (11:21 -0800)
commitb09026c6913eeef1b21914a9d441ba275df40f27
tree72569b0cc68654d7710e7a4e3f8885e3edad74df
parent70f98d7c7d51402e7b40c9ec0299bd46b7890da9
cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE()

We already have the DEFINE_SHOW_ATTRIBUTE. There is no need to define
such a macro, so remove DEFINE_SIMPLE_DEBUGFS_FILE. Also use the
DEFINE_SHOW_ATTRIBUTE macro to simplify some code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.h
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c