]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dwc_eth_qos: Constify st, eth-* values parsed out of DT
authorMarek Vasut <marex@denx.de>
Tue, 26 Mar 2024 12:07:29 +0000 (13:07 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 09:30:51 +0000 (11:30 +0200)
commit22265e236538f29e38df2411a12103aeefb3138b
tree02418a09e1f75915c822bfd2d988fefc2ecab676
parent2e8f75be62bafb7113a4135c278a681c066d8e5a
net: dwc_eth_qos: Constify st, eth-* values parsed out of DT

Use const bool for the values parsed out of DT. Drop the duplicate
assignment of false into those bool variables, assign them directly
with the content parsed out of DT. Abbreviate the variable name too.

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