net: phy: meson-gxl: check phy_write return value
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 18 Dec 2017 09:44:40 +0000 (10:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 18:24:55 +0000 (13:24 -0500)
commit9042b46eda33ef5db3cdfc9e12b3c8cabb196141
tree0b5883bba4de974532c1da372c0e548d33aece0b
parente7655085973bd33ee47bb12de663d31c81717404
net: phy: meson-gxl: check phy_write return value

Always check phy_write return values. Better to be safe than sorry

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/meson-gxl.c