summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-03-16 13:02:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-17 07:24:45 +0100
commit0f3366ba853dafc6c2005771bcd1a97769f764dd (patch)
treedeba5daa63615de079b9f4957fb5e237fc6230c6 /drivers/w1
parenta76c62f80d95860e6c5904ab5cb91667c43f61eb (diff)
downloadbarebox-0f3366ba853dafc6c2005771bcd1a97769f764dd.tar.gz
barebox-0f3366ba853dafc6c2005771bcd1a97769f764dd.tar.xz
driver: fix device remove order
The active list is supposed to collect active devices in the opposite order they are probed. This is used to remove the devices in the correct order in devices_shutdown. The order is wrong though when in a drivers probe function other devices are registered. To get the order right we have to add the new device to the active list before it is probed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions