Re: [PATCH] cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE()

From: David Miller
Date: Sat Dec 15 2018 - 14:22:01 EST


From: Yangtao Li <tiny.windzz@xxxxxxxxx>
Date: Sat, 15 Dec 2018 02:59:30 -0500

> 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@xxxxxxxxx>

Applied.