alistair23-linux/Documentation/driver-model
Tomeu Vizoso 656b8035b0 ARM: 8524/1: driver cohandle -EPROBE_DEFER from bus_type.match()
Allow implementations of the match() callback in struct bus_type to
return errors and if it's -EPROBE_DEFER then queue the device for
deferred probing.

This is useful to buses such as AMBA in which devices are registered
before their matching information can be retrieved from the HW
(typically because a clock driver hasn't probed yet).

[changed if-else code structure, adjusted documentation to match the code,
extended comments]

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2016-02-16 16:28:51 +00:00
..
binding.txt
bus.txt doc: driver-model: improve wording "is provide the" 2014-12-29 15:29:33 -07:00
class.txt
design-patterns.txt Documentation: fix spelling in design-patterns 2013-12-19 10:10:32 -08:00
device.txt
devres.txt Char/Misc driver patches for 4.1-rc1 2015-04-21 09:42:58 -07:00
driver.txt
overview.txt
platform.txt driver-core: platform: Provide helpers for multi-driver modules 2015-10-05 05:02:40 +01:00
porting.txt ARM: 8524/1: driver cohandle -EPROBE_DEFER from bus_type.match() 2016-02-16 16:28:51 +00:00