-
由 Bjorn Helgaas 提交于
Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: NJeff Garzik <jgarzik@pobox.com> Acked-by: NMarc Zyngier <maz@misterjones.org> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
c2f6fabb