summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJani Nikula <ext-jani.1.nikula@nokia.com>2010-03-23 13:35:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-24 16:31:21 -0700
commit8c363afe94b885d39ae2e93e41680282a470ad84 (patch)
treeccd3f3a6a26f560c43d5b6c0f2ecdad22d9514e4 /mm
parentcb53237513bd1e090cce120efe12ede72c932b5f (diff)
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions