driver core fixes: bus_add_attrs() retval check
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 22 Sep 2006 09:37:04 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 19:49:55 +0000 (12:49 -0700)
commit1bb6881acae1c4f11a6e86f04df32ba45e95031d
treec26795fdd0f062ba741d4bbb82a960c942119e3c
parentf0e1761ac528e9d28f3ba06bd268ec41fe872ac8
driver core fixes: bus_add_attrs() retval check

Check return value of bus_add_attrs() in bus_register().

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