alistair23-linux/drivers/soc/mediatek
Ryder Lee 38d19752a7 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>
2018-04-17 16:36:44 +02:00
..
Kconfig soc: mediatek: place Kconfig for all SoC drivers under menu 2017-10-20 12:08:01 +02:00
Makefile soc: Mediatek: Add SCPSYS power domain driver 2015-07-06 18:36:32 +02:00
mtk-infracfg.c soc: mediatek: extend bus protection API 2017-12-21 11:49:22 +01:00
mtk-pmic-wrap.c soc: mediatek: use of_device_get_match_data() 2018-04-17 16:36:44 +02:00
mtk-scpsys.c soc: mediatek: use of_device_get_match_data() 2018-04-17 16:36:44 +02:00