]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: ravb: Simplify max-speed handling in ravb_of_to_plat
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Wed, 20 Nov 2024 09:49:39 +0000 (09:49 +0000)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 8 Dec 2024 22:06:52 +0000 (23:06 +0100)
commit2b1a5efca8891ea320c23acd3681ca8bdb7fd15b
tree33ec8efaad753ce922a7bd220ab13c3055442bee
parent9a699a0a0d62b326d04ac248578b6ce6f53be525
net: ravb: Simplify max-speed handling in ravb_of_to_plat

We can call dev_read_u32_default() instead of calling fdt_getprop() then
fdt32_to_cpu().

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/net/ravb.c