aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorChris Packham <[email protected]>2022-03-23 16:40:56 +1300
committerGuenter Roeck <[email protected]>2022-05-22 11:32:31 -0700
commitd45cd804280d5cf43d539f49f671ea26552cedc3 (patch)
tree879a46a8772d360fe901dba9c0cd98cc83ede9ec /tools/perf/scripts/python/sctop.py
parent7b8664f126e90d1d2129b8653c587bf230dd800c (diff)
hwmon: (adt7475) Use enum chips when loading attenuator settings
Make use of enum chips and use a switch statement in load_attenuators() so that the compiler can tell us if we've failed to cater for a supported chip. Signed-off-by: Chris Packham <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions