diff options
author | 2018-04-16 10:33:54 +0800 | |
---|---|---|
committer | 2018-04-29 08:56:41 +0200 | |
commit | 36bf2eb90de03d37e05169be29efd2e959ae27a9 (patch) | |
tree | 0563a460a201529660ddd6d923a0138e4820197f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: rawnand: diskonchip: Replace mdelay with usleep_range in doc_probe (diff) | |
download | wireguard-linux-36bf2eb90de03d37e05169be29efd2e959ae27a9.tar.xz wireguard-linux-36bf2eb90de03d37e05169be29efd2e959ae27a9.zip |
mtd: rawnand: mtk: 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 .probe() is to match an entry in
.of_match_table[], so of_device_id cannot be NULL.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Reviewed-by: Xiaolei Li <xiaolei.li@mediatek.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions