diff options
author | Jani Nikula <[email protected]> | 2010-03-23 13:35:27 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-03-24 16:31:21 -0700 |
commit | 8c363afe94b885d39ae2e93e41680282a470ad84 (patch) | |
tree | ccd3f3a6a26f560c43d5b6c0f2ecdad22d9514e4 /lib/debugobjects.c | |
parent | cb53237513bd1e090cce120efe12ede72c932b5f (diff) |
c2port: fix device_create() return value check
Use IS_ERR() instead of comparing to NULL.
[[email protected]: preserve the error code]
Signed-off-by: Jani Nikula <[email protected]>
Cc: Vegard Nossum <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions