aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorCamel Guo <[email protected]>2022-04-25 12:00:19 +0200
committerGuenter Roeck <[email protected]>2022-05-20 10:57:05 -0700
commit8c099cd381aa36373593d4efc92493c1345c73da (patch)
treeb5fad2054e0416cb0009953fc49f8b9eef2444a1 /tools/perf/scripts/python/check-perf-trace.py
parente5c498ccc90c87155d1f6980cac050d48b8a84b4 (diff)
hwmon: (tmp401) Fix incorrect return value of tmp401_init_client
When ti,n-factor, ti,beta-compentation are not defined in devicetree, of_property_read_u32|s32 returns -EINVAL. In this case, tmp401_init_client should return 0 instead of simply pass ret to its caller. Signed-off-by: Camel Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions