net: miiphybb: Convert ifdef DEBUG to debug()

Replace ifdeffery with plain debug() function call. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
This commit is contained in:
Marek Vasut
2025-01-18 07:16:17 +01:00
parent 8a2ffd5a85
commit b1001835f1

View File

@@ -183,9 +183,7 @@ int bb_miiphy_read(struct mii_dev *miidev, int addr, int devad, int reg)
bus->set_mdc(bus, 1);
bus->delay(bus);
#ifdef DEBUG
printf("miiphy_read(0x%x) @ 0x%x = 0x%04x\n", reg, addr, rdreg);
#endif
debug("miiphy_read(0x%x) @ 0x%x = 0x%04x\n", reg, addr, rdreg);
return rdreg;
}