]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: crystalhd: fix device_create() return value check
authorJani Nikula <ext-jani.1.nikula@nokia.com>
Thu, 11 Mar 2010 16:22:51 +0000 (18:22 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:36 +0000 (11:35 -0700)
commit15df6385d940ad5486b4c2de8ab45979b13349fe
treed08e498e4e4d51e272af01b4ce7016cb74e747e3
parentb1facee664ab3b6b27715aec60653659f12182bd
Staging: crystalhd: fix device_create() return value check

Use IS_ERR() instead of comparing to NULL.

Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/crystalhd/crystalhd_lnx.c