]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
driver core: Change function call order in device_bind_driver().
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 27 Nov 2006 09:35:12 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:13 +0000 (10:37 -0800)
commitcb986b749c7178422bfbc982cd30e04d5db54bbc
treec41118ed78a7c43868a57c045769dc90b8604b8d
parentc578abbc20762aa58e390e55252959853eeea17e
driver core: Change function call order in device_bind_driver().

Change function call order in device_bind_driver().

If we create symlinks (which might fail) before adding the device to the list
we don't have to clean up afterwards (which we didn't).

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c