]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dwc_eth_qos: Scrub ifdeffery
authorMarek Vasut <marex@denx.de>
Tue, 26 Mar 2024 12:07:25 +0000 (13:07 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 09:30:50 +0000 (11:30 +0200)
commitb204c2a9ae7adc3dc65a51df2254d8abc7ae07a3
tree96a292f43a720b0d998329863c9b521b6d6daa93
parentd100c1abb778f408691f983c9bf34ed9b4869493
net: dwc_eth_qos: Scrub ifdeffery

Replace ifdef CONFIG_CLK with if (CONFIG_IS_ENABLED(CLK)) to improve code
build coverage. Some of the functions printed debug("%s: OK\n", __func__);
on exit with and without CLK enabled, some did not, make it consistent and
print nothing if CLK is disabled.

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Christophe ROULLIER <christophe.roullier@foss.st.com>
drivers/net/dwc_eth_qos_stm32.c