usb devio: handle class_device_create() error
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 9 Oct 2006 09:09:33 +0000 (18:09 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:32 +0000 (14:46 -0700)
This patch adds missing class_device_create() error check,
and makes notifier return NOTIFY_BAD.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found