net: dc2114x: Switch DEBUG_SROM{,2} to debug_cond()
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 19 Apr 2020 02:05:44 +0000 (04:05 +0200)
committermarex <marex@desktop.lan>
Fri, 1 May 2020 10:35:21 +0000 (12:35 +0200)
commitc2abfca9be3a62a98c1a1b77a11cd01092c0160f
tree31722c2c362d6188f9fd16061081e91234df63a1
parentdbe9c0c1457dad8446f1d9aac5f4cbd4ee6db060
net: dc2114x: Switch DEBUG_SROM{,2} to debug_cond()

Replace the adhoc debugging ifdeffery with debug_cond() and an
internal SROM_DEBUG macro to select the debug level.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/dc2114x.c