commit | 38d19752a7807392e4517a14c21e7cf1cdddbd2d | [log] [tgz] |
---|---|---|
author | Ryder Lee <ryder.lee@mediatek.com> | Mon Apr 16 10:33:34 2018 +0800 |
committer | Matthias Brugger <matthias.bgg@gmail.com> | Tue Apr 17 16:36:44 2018 +0200 |
tree | 1748da688413daca80c1d354a97f187b3d252949 | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 [diff] |
soc: 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 pwrap_probe() is to match an entry in of_pwrap_match_tbl[], so of_id cannot be NULL. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>