USB: Phidgets should check create_device_file() return value
authorSean Young <sean@mess.org>
Fri, 11 Aug 2006 09:28:28 +0000 (09:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:49 +0000 (11:58 -0700)
commitda308e8da700637d6271dddda08128094691b980
tree07d132503e754915db98171cd00e106c27138b64
parent912b24c333843514ff77ed88961c6945f0f286ce
USB: Phidgets should check create_device_file() return value

device_create_file() could fail, add proper error paths for this condition.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/phidgetkit.c
drivers/usb/misc/phidgetmotorcontrol.c
drivers/usb/misc/phidgetservo.c