net: phy: micrel: refactor interrupt config
authorJohan Hovold <johan@kernel.org>
Wed, 19 Nov 2014 11:59:22 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:08:57 +0000 (14:08 -0500)
commitc6f9575cc86250422c84972219e2a1bd7ec7e2ae
treeaf3206c8cafb1fca664b695ccfb375e1846b15bd
parentc3a8e1eddd6c140fbaaf957f7da8f2175f79623d
net: phy: micrel: refactor interrupt config

Add generic interrupt-config callback and store interrupt-level bitmask
in type data for PHY types not using bit 9.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c