net: designware: socfpga: return error value
Instead of silently dropping the return value of socfpga_dwc_set_phy_mode,
use it as the return value of the function, instead.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1fbfd95 commit a0e2d2fa05384cf9b9c1f00448e1ca175b7b3afb
@Steffen Trumtrar Steffen Trumtrar authored on 29 Nov 2018
Sascha Hauer committed on 30 Nov 2018
Showing 1 changed file
View
drivers/net/designware_socfpga.c