diff options
author | Jani Nikula <ext-jani.1.nikula@nokia.com> | 2010-03-23 13:35:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-24 16:31:21 -0700 |
commit | 8c363afe94b885d39ae2e93e41680282a470ad84 (patch) | |
tree | ccd3f3a6a26f560c43d5b6c0f2ecdad22d9514e4 /drivers/isdn/hisax/hfc_2bs0.h | |
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 'drivers/isdn/hisax/hfc_2bs0.h')
0 files changed, 0 insertions, 0 deletions