forked from mirrors/linux
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mtu3.h | ||
| mtu3_core.c | ||
| mtu3_debug.h | ||
| mtu3_debugfs.c | ||
| mtu3_dr.c | ||
| mtu3_dr.h | ||
| mtu3_gadget.c | ||
| mtu3_gadget_ep0.c | ||
| mtu3_host.c | ||
| mtu3_hw_regs.h | ||
| mtu3_plat.c | ||
| mtu3_qmu.c | ||
| mtu3_qmu.h | ||
| mtu3_trace.c | ||
| mtu3_trace.h | ||