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

Move specific at8031 config_intr bits to dedicated function to make
at803x_config_initr more generic.

This is needed in preparation for PHY driver split as qca8081 share the
same function to setup interrupts.

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