aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorZev Weiss <[email protected]>2022-04-26 18:01:50 -0700
committerGuenter Roeck <[email protected]>2022-05-20 10:57:06 -0700
commit3c7e4935d46803f009e344546e41e777df7537b1 (patch)
treebeb738bd766a3db780a9c8e84a7f203d7737baa0 /tools/perf/scripts/python/check-perf-trace.py
parent4ef2774511dc6e552228bd6c3fefa2e7d41f38b7 (diff)
hwmon: (nct6775) Rearrange attr-group initialization
We now track the number of attribute groups in nct6775_data, as a measure to simplify handling differences in the set of enabled attribute groups between nct6775 drivers (platform & i2c). As a side effect, we also reduce the amount of IS_ERR()/PTR_ERR() boilerplate a bit. Signed-off-by: Zev Weiss <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Oleksandr Natalenko <[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