Files
erofs-linux/drivers/net/phy
Levente Kurusa 0c692d0784 drivers/net/phy/mdio_bus.c: call put_device on device_register() failure
It is required to call put_device() if device_register() fails, so that
we give up the last reference to the device.  Calling put_device allows
for mdiobus_release to be executed, kfreeing the bus.

Signed-off-by: Levente Kurusa <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: David Daney <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2014-01-30 16:56:54 -08:00
..
…
…
…
…
…
2013-12-18 00:49:02 -05:00
2013-11-07 15:37:09 -05:00
2013-12-18 00:49:02 -05:00
2013-11-07 15:37:09 -05:00
2014-01-19 19:55:50 -08:00
…
…
…
2013-11-28 18:30:54 -05:00