]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: Clean up debug infrastructure
authorSean Anderson <seanga2@gmail.com>
Sat, 24 Sep 2022 01:53:34 +0000 (21:53 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 00:45:37 +0000 (17:45 -0700)
commit30931367ba80a7457d8e67a22941071e6ecb346b
tree113c8ca57a44a43c648980bd47907e66f08d4170
parent03290907a5d15080da5a04adbdb173d5ab8f743c
sunhme: Clean up debug infrastructure

Remove all the single-use debug conditionals, and just collect the debug
defines at the top of the file. HMD seems like it is used for general debug
info, so just redefine it as pr_debug. Additionally, instead of using the
default loglevel, use the debug loglevel for debugging.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sun/sunhme.c