[PATCH 04/29] drivers: base: add notifier for failed driver bind
Joerg Roedel
joro at 8bytes.org
Mon Aug 25 14:18:23 PDT 2014
On Tue, Aug 05, 2014 at 12:47:32PM +0200, Marek Szyprowski wrote:
> + if (failed && dev->bus)
> + blocking_notifier_call_chain(&dev->bus->p->bus_notifier,
> + BUS_NOTIFY_DRVBIND_FAILED, dev);
> +
Why can't you just use the notifier for BUS_NOTIFY_UNBIND_DRIVER or
BUS_NOTIFY_UNBOUND_DRIVER when something goes wrong in driver
initialization?
Joerg
More information about the linux-arm-kernel
mailing list