net: ti: cpsw: move parsing of dt port's parameters in separate func
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 19 Sep 2019 08:16:38 +0000 (11:16 +0300)
committerTom Rini <trini@konsulko.com>
Sun, 3 Nov 2019 14:36:06 +0000 (09:36 -0500)
commit4040148b9e932124f843f309d0b344376337311b
tree3b2e58489a3e46669c0cbe5e2c43ec5dff307c3c
parent60e81d0d2855690347bc479c9c20b4ad5de0b703
net: ti: cpsw: move parsing of dt port's parameters in separate func

Move parsing of dt port's parameters in separate func for better code
readability.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/net/ti/cpsw.c