From: Jani Nikula Date: Tue, 23 Mar 2010 20:35:27 +0000 (-0700) Subject: c2port: fix device_create() return value check X-Git-Tag: v2.6.34-rc3~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c363afe94b885d39ae2e93e41680282a470ad84;p=pandora-kernel.git 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 Cc: Vegard Nossum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed