diff options
| author | kbuild test robot <[email protected]> | 2019-07-24 17:22:36 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-07-25 17:44:11 +0100 |
| commit | 1889c6e6ac6e15b3631d7e320f740219aa46504a (patch) | |
| tree | d335453a6e4a401f177de772ed306f1c3639ec30 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a5f888c53db575e3b04e7b4597699da67b9cd2eb (diff) | |
regulator: act8865: fix ptr_ret.cocci warnings
drivers/regulator/act8865-regulator.c:447:8-14: 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
Fixes: 2d09a79bf637 ("regulator: act8865: Add support for act8600 charger")
CC: Maarten ter Huurne <[email protected]>
Signed-off-by: kbuild test robot <[email protected]>
Link: https://lore.kernel.org/r/20190724092236.witxtfmubun25l2t@1905cc33b6dd
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions