diff options
| author | Dan Carpenter <[email protected]> | 2017-05-08 15:55:17 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-05-08 17:15:10 -0700 |
| commit | 8128a31eaadbcdfa37774bbd28f3f00bac69996a (patch) | |
| tree | 6f1eca48357ea139566573e5bfbff090e7756c83 /tools/perf/scripts/python | |
| parent | 146180c052a00172f4dc08eaade836fd02f61fb5 (diff) | |
drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
c2port_device_register() never returns NULL, it uses error pointers.
Link: http://lkml.kernel.org/r/20170412083321.GC3250@mwanda
Fixes: 65131cd52b9e ("c2port: add c2port support for Eurotech Duramar 2150")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Rodolfo Giometti <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions