phy: phy-mtk-tphy: use of_device_get_match_data()
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 28 Dec 2017 11:10:36 +0000 (16:40 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 29 Dec 2017 07:30:35 +0000 (13:00 +0530)
commite4b227c1ca70ae779c39e5284742555b9e1cdf9f
tree0a902551b787a0d6fbaf39180f810946061edee3
parent93a04f4f1607c55452c85c7adaee043321afb3ae
phy: phy-mtk-tphy: use of_device_get_match_data()

reduce the boilerplate code to get the specific data

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/mediatek/phy-mtk-tphy.c