driver core fixes: bus_add_device() cleanup on error
commit513e7337adc32cdfbffecb99953e45a44e812c2d
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 22 Sep 2006 09:37:08 +0000 (22 11:37 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 19:49:55 +0000 (18 12:49 -0700)
tree47179553f793f74366650b9b085f1350cc00a8e3
parent1bb6881acae1c4f11a6e86f04df32ba45e95031d
driver core fixes: bus_add_device() cleanup on error

Correct cleanup in the error path of bus_add_device().

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