summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-exynos.c
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2019-04-17 10:28:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-19 14:23:34 +0200
commit9d918dcea0689eb9dd7154dcea976232c7d8d6e6 (patch)
tree105b5852098f45bd983232279e5bd277b4ecdf12 /drivers/usb/host/ohci-exynos.c
parentusb: typec: fusb302: Revert "Resolve fixed power role contract setup" (diff)
downloadlinux-9d918dcea0689eb9dd7154dcea976232c7d8d6e6.tar.xz
linux-9d918dcea0689eb9dd7154dcea976232c7d8d6e6.zip
usb: xhci-mtk: get optional clock by devm_clk_get_optional()
Use devm_clk_get_optional() to get optional clock instead of optional_clk_get() which uses devm_clk_get() to get clock and checks for -EPROBE_DEFER but not -ENOENT as devm_clk_get_optional() does, in fact, only ignoring -ENOENT will cover more errors, so the replacement doesn't change original purpose. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-exynos.c')
0 files changed, 0 insertions, 0 deletions