net: phy: aquantia: use macro PHY_ID_MATCH_MODEL
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 3 Feb 2019 20:18:03 +0000 (21:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2019 22:31:04 +0000 (14:31 -0800)
commit4d5dfb666c1b58206ba6eba3c6bee0c8d6264c3d
treece01eb0cb67862f8a7769f588dbce203322c6c96
parent81e6578c16d1685c23c09525feccbce971ffd536
net: phy: aquantia: use macro PHY_ID_MATCH_MODEL

Make use of macro PHY_ID_MATCH_MODEL to simplify the code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/aquantia.c