barebox/drivers/base
Sascha Hauer 46bb3a4d84 driver: Fix unregister device after device probe failure
When a device probe fails the device is removed from the active list.
If then the device is unregistered afterwards it is removed from the
active list again resulting in a crash. To fix this initialize the
devices active list entry when removing it from the active list.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-02-08 11:31:02 +01:00
..
regmap Add initial regmap support 2016-02-05 14:32:16 +01:00
bus.c drivers: bus: Match against id_table first 2015-12-07 10:59:42 +01:00
driver.c driver: Fix unregister device after device probe failure 2016-02-08 11:31:02 +01:00
Makefile Add initial regmap support 2016-02-05 14:32:16 +01:00
platform.c driver: Call remove function only when available 2015-03-17 07:24:50 +01:00
resource.c net: dm9k: Fix resource sizes in add_dm9000_device 2013-12-18 16:52:14 +01:00