diff options
author | kbuild test robot <[email protected]> | 2015-10-27 02:26:11 +0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2015-10-27 09:00:43 +0000 |
commit | fc18111b8973e2c7cc0c2ba6183795e5266ddff7 (patch) | |
tree | 36eae7aea7586554e73bcf5de55f5642a2b8dfff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dc881123aa1aeff02ce2dc94c2b810d37173aa90 (diff) |
backlight: pm8941-wled: Fix ptr_ret.cocci warnings
drivers/video/backlight/pm8941-wled.c:404:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Acked-by: Bjorn Andersson <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions