Staging: comedi: check the return value of kobject_set_name
authorAnton Protopopov <a.s.protopopov@gmail.com>
Wed, 9 Jul 2014 05:12:37 +0000 (09:12 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:19:36 +0000 (12:19 -0700)
Added a check of the return value of the kobject_set_name function.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c

Simple merge