aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2019-04-17 16:28:16 +0800
committerGreg Kroah-Hartman <[email protected]>2019-04-19 14:23:34 +0200
commit9d918dcea0689eb9dd7154dcea976232c7d8d6e6 (patch)
tree105b5852098f45bd983232279e5bd277b4ecdf12 /drivers/usb/cdns3/cdns3-ti.c
parent48242e30532b3e30f93f124c214b4308ab267e05 (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions