diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2018-04-16 05:32:52 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-04-30 11:39:28 +0300 |
commit | 6e29577fc2a870c4272d10d54d2fdec019301dc0 (patch) | |
tree | d64adc14b12c21459dbdb59828dd52a5d215a8de /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 952cfd15815e0308135001dc7a612b8fa7feb2d2 (diff) | |
download | linux-6e29577fc2a870c4272d10d54d2fdec019301dc0.tar.xz |
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 <ryder.lee@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions