summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2018-04-16 05:32:52 +0300
committerWolfram Sang <wsa@the-dreams.de>2018-04-30 11:39:28 +0300
commit6e29577fc2a870c4272d10d54d2fdec019301dc0 (patch)
treed64adc14b12c21459dbdb59828dd52a5d215a8de /tools/perf/scripts/python/mem-phys-addr.py
parent952cfd15815e0308135001dc7a612b8fa7feb2d2 (diff)
downloadlinux-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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions