9
0
Fork 0
barebox/drivers
Sascha Hauer 7614ee1640 net: phy: Fix get_phy_device return value
A function should either return an ERR_PTR or NULL on failure, but not both.
Let get_phy_device() return an ERR_PTR and fix the return checks in mdiobus_scan
and phy_device_connect.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-11-25 09:01:49 +01:00
..
amba treewide: Use dev_add_param_int_ro where possible 2013-04-11 11:48:35 +02:00
ata barebox: remove double semicolons 2013-11-18 10:13:35 +01:00
base treewide: Add missing includes 2013-11-08 15:42:04 +01:00
bus bus: Add imx-weim support 2013-07-16 08:48:09 +02:00
clk clk: Add Altera SoCFPGA clk support 2013-09-23 08:40:31 +02:00
clocksource ARM: bcm2835: register the clocksource driver earlier 2013-10-22 15:28:58 +02:00
dma mtd: nand: mxs-nand: Add i.MX6 support 2013-07-23 16:25:14 +02:00
eeprom eeprom: at24: Enable OF partition parsing 2013-11-08 15:42:08 +01:00
gpio treewide: Add missing includes 2013-11-08 15:42:04 +01:00
i2c treewide: Add missing includes 2013-11-08 15:42:04 +01:00
input console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
led led: gpio: Add trigger support 2013-07-10 14:10:50 +02:00
mci barebox: remove double semicolons 2013-11-18 10:13:35 +01:00
mfd treewide: Add missing includes 2013-11-08 15:42:04 +01:00
misc driver: Attach info callback to device, not to driver 2013-05-30 12:18:27 +02:00
mtd treewide: Add missing includes 2013-11-08 15:42:04 +01:00
net net: phy: Fix get_phy_device return value 2013-11-25 09:01:49 +01:00
of of: simplify phandle lookup 2013-10-22 08:55:08 +02:00
pinctrl treewide: Add missing includes 2013-11-08 15:42:04 +01:00
pwm pwm: sanity check values before passing them to the drivers 2013-09-27 07:16:50 +02:00
serial treewide: Add missing includes 2013-11-08 15:42:04 +01:00
spi treewide: Add missing includes 2013-11-08 15:42:04 +01:00
usb barebox: remove double semicolons 2013-11-18 10:13:35 +01:00
video video: set up the kernel's simple framebuffer driver 2013-11-06 10:37:24 +01:00
w1 w1: Fix compiler warning 2013-03-06 09:04:26 +01:00
watchdog treewide: Add missing includes 2013-11-08 15:42:04 +01:00
Kconfig bus: Add imx-weim support 2013-07-16 08:48:09 +02:00
Makefile bus: Add imx-weim support 2013-07-16 08:48:09 +02:00