diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2018-04-16 05:34:16 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-05-07 02:53:47 +0300 |
commit | 9efc58dfa14a200efd5c005dd25ca95c686c1d8a (patch) | |
tree | 410249454a2737e50e2923f16cad31d5c7964344 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | b43e3cfe232ab01f7cf1f60179a1d005f62d6cc0 (diff) | |
download | linux-9efc58dfa14a200efd5c005dd25ca95c686c1d8a.tar.xz |
thermal: mediatek: use of_device_get_match_data()
The usage of of_device_get_match_data() reduce the code size a bit.
Also, the only way to call mtk_thermal_probe() is to match an entry in
mtk_thermal_of_match[], so of_id cannot be NULL.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions