diff options
| author | Xu Wang <[email protected]> | 2020-07-13 03:33:13 +0000 |
|---|---|---|
| committer | Joel Stanley <[email protected]> | 2020-09-10 12:22:47 +0930 |
| commit | 3c3c484850bcb4b28f2377e3d641a32c42af949c (patch) | |
| tree | 528756e938f7a7ab43f412a65a25d9dd52e583ba /tools/perf/scripts/python | |
| parent | 6e0ef7d2cee1abf8a8ff4862f528067c58b3bcc1 (diff) | |
fsi: fsi-occ: fix return value check in occ_probe()
In case of error, the function platform_device_register_full()
returns ERR_PTR() and never returns NULL. The NULL test in the
return value check should be replaced with IS_ERR().
Signed-off-by: Xu Wang <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Joel Stanley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions