Jani Nikula 8c363afe94 c2port: fix device_create() return value check
Use IS_ERR() instead of comparing to NULL.

[akpm@linux-foundation.org: preserve the error code]
Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-24 16:31:21 -07:00
..
2008-10-30 11:38:46 -07:00
2010-03-12 15:52:44 -08:00
2008-03-04 13:41:23 +01:00
2009-12-11 11:24:51 -08:00
2009-12-14 21:17:26 +01:00
2009-12-15 08:53:27 -08:00
2009-05-06 16:36:10 -07:00
2010-03-13 20:56:54 +01:00
2010-03-13 20:56:54 +01:00
2010-03-13 20:56:54 +01:00