phy: phy-mtk-tphy: get optional clock by devm_clk_get_optional()
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 10 Apr 2019 06:13:03 +0000 (14:13 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 08:43:14 +0000 (14:13 +0530)
commitb603c500d7a5c98089f3d68e4c79297e6aabc4ba
tree87633d7598b963a51b2399c12792a148cdd5b510
parent549b6b55b00558183cef4af2c2bb61d4f2ffe508
phy: phy-mtk-tphy: get optional clock by devm_clk_get_optional()

Use devm_clk_get_optional() to get optional clock

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