diff options
author | Stephen Boyd <[email protected]> | 2021-01-22 19:44:27 -0800 |
---|---|---|
committer | Rob Herring <[email protected]> | 2021-01-28 15:46:08 -0600 |
commit | 6e09d75513d2670b7ab91ab3584fc5bcf2675a75 (patch) | |
tree | cc90df3970f59d8af20b9e68c43f11bfdbe46985 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9243eadc3a13c1332a80a8254e48865b09df5339 (diff) |
hwmon: (lm70) Use device_get_match_data()
Use the more modern API to get the match data out of the of match table.
This saves some code, lines, and nicely avoids referencing the match
table when it is undefined with configurations where CONFIG_OF=n.
Signed-off-by: Stephen Boyd <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Frank Rowand <[email protected]>
Cc: <[email protected]>
[robh: rework to use device_get_match_data()]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions