summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2019-04-17 16:28:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-19 14:23:34 +0200
commit9d918dcea0689eb9dd7154dcea976232c7d8d6e6 (patch)
tree105b5852098f45bd983232279e5bd277b4ecdf12 /tools/perf/scripts/python/export-to-sqlite.py
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 <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions