driver core fixes: device_register() retval check in platform.c
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 27 Nov 2006 09:35:08 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:12 +0000 (10:37 -0800)
commitfbfb14455391b89edcf37327526988dea7849532
tree3a55ca3576ffbccefaee67336c633d96b498745f
parentcb360bbf6352712310a7528137919c626a782744
driver core fixes: device_register() retval check in platform.c

Check the return value of device_register() in platform_bus_init().

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