diff options
author | David Lechner <[email protected]> | 2024-05-06 10:59:16 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-05-07 10:31:48 +0900 |
commit | 346fe0ce1fd780038ca9e5bcb65aad54bae7c4d9 (patch) | |
tree | 44ac1309e5e72dfa3a2885b0a0680e4b5daa1132 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 257b2335eebf51e318db1f3b2d023512da46fa66 (diff) |
hwmon: (adc128d818) simplify final return in probe
The final return in adc128d818_probe() can be simplified by using
PTR_ERR_OR_ZERO rather than an if statement.
Suggested-by: Guenter Roeck <[email protected]>
Signed-off-by: David Lechner <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/20240506-regulator-devm_regulator_get_enable_read_voltage-fixes-v1-2-356cdd152067@baylibre.com
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