diff options
author | 2021-05-26 08:47:03 -0400 | |
---|---|---|
committer | 2021-06-02 10:51:18 +0100 | |
commit | cdefb765f150174ba9dec5775da07175d6f8c4e7 (patch) | |
tree | d1400f5eb52e05bd074de415a76db6067b93194d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mfd: da9062: Simplify getting of_device_id match data (diff) | |
download | linux-dev-cdefb765f150174ba9dec5775da07175d6f8c4e7.tar.xz linux-dev-cdefb765f150174ba9dec5775da07175d6f8c4e7.zip |
mfd: sec: 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 <krzysztof.kozlowski@canonical.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions