net: phy: at803x: move specific at8031 config_init to dedicated function
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 8 Dec 2023 14:51:54 +0000 (15:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2023 10:34:28 +0000 (10:34 +0000)
commit3ae3bc426eaf57ca8f53d75777d9a5ef779bc7b7
treeedaf9d804b3ca7011ec0aa6f46e60b0a779edb43
parent25d2ba94005fac18fe68878cddff59a67e115554
net: phy: at803x: move specific at8031 config_init to dedicated function

Move specific at8031 config_init to dedicated function to make
at803x_config_init more generic and tidy things up.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c