phy: phy-meson-gxl-usb2: get optional clock by devm_clk_get_optional()
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 10 Apr 2019 06:13:06 +0000 (14:13 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 08:43:16 +0000 (14:13 +0530)
commit42c7cb71b5c2b014caab7861f2434f3907900d7c
tree92997f03989151060d70882d400678647ee70430
parent752d31a3e19251e15ed241c00872ffe4f65bae0b
phy: phy-meson-gxl-usb2: get optional clock by devm_clk_get_optional()

Use devm_clk_get_optional() to get optional clock

Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/amlogic/phy-meson-gxl-usb2.c