summaryrefslogtreecommitdiff
path: root/drivers/usb/atm/Makefile
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2019-04-17 16:28:21 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-19 14:24:26 +0200
commit1567d661b90ff670b61bf0b8461afd2dac4a4b7c (patch)
tree6b7738b354606ae2d683ac51186a83c1203c17b0 /drivers/usb/atm/Makefile
parentfcafadf71a252009f1d0663b8fcf4bd57f4f2c66 (diff)
usb: mtu3: 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> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/atm/Makefile')
0 files changed, 0 insertions, 0 deletions