aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2021-05-26 08:46:59 -0400
committerLee Jones <[email protected]>2021-06-02 10:51:17 +0100
commitb486413dd73ac900c6e3a5cda83f2e3f94cd2b2c (patch)
tree1c775ea45226ef1938ac0625b4cd55cfdd2973cd /tools/perf/scripts/python/sctop.py
parentc32d7feba0b5c8a3e2867bb5def86fab986c51d7 (diff)
mfd: max8997: Simplify getting of_device_id match data
Use of_device_get_match_data() to make the code slightly smaller. There is also no need to wrap it in a check for CONFIG_OF, because dev.of_node will be set only with OF support. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions