From: Alan Stern Date: Thu, 5 Oct 2006 21:03:24 +0000 (-0400) Subject: Driver core: Don't ignore error returns from probing X-Git-Tag: v2.6.19-rc3~126^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70fa6296c2ec8f541f0a9b406ccc2d9d127d639;p=pandora-kernel.git Driver core: Don't ignore error returns from probing This patch (as797) fixes device_add() in the driver core. It needs to pay attention when the driver for a new device reports an error. At the same time, since bus_remove_device() undoes the effects of both bus_add_device() and bus_attach_device(), it needs to check whether the bus_attach_device step failed. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed