diff options
author | Jani Nikula <ext-jani.1.nikula@nokia.com> | 2010-03-23 16:35:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-24 19:31:21 -0400 |
commit | 8c363afe94b885d39ae2e93e41680282a470ad84 (patch) | |
tree | ccd3f3a6a26f560c43d5b6c0f2ecdad22d9514e4 /mm | |
parent | cb53237513bd1e090cce120efe12ede72c932b5f (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