diff options
| author | Ryder Lee <[email protected]> | 2018-04-16 10:32:52 +0800 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2018-04-30 10:39:28 +0200 |
| commit | 6e29577fc2a870c4272d10d54d2fdec019301dc0 (patch) | |
| tree | d64adc14b12c21459dbdb59828dd52a5d215a8de /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 952cfd15815e0308135001dc7a612b8fa7feb2d2 (diff) | |
i2c: 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_i2c_probe() is to match an entry in
mtk_i2c_of_match[], so of_id cannot be NULL.
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions