summaryrefslogtreecommitdiff
path: root/include/linux/usb/func_utils.h
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-09-02 15:30:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-03 10:53:34 +0300
commitc146ede472717f352b7283a525bd9a1a2b15e2cf (patch)
tree5aa5c9ae5a8603a7a06e8a2ba870c87c8cc95f17 /include/linux/usb/func_utils.h
parentb24301364a9471fbca86d41fa0982ae4e038140d (diff)
downloadlinux-c146ede472717f352b7283a525bd9a1a2b15e2cf.tar.xz
usb: ohci-nxp: Use helper function devm_clk_get_enabled()
devm_clk_get() and clk_prepare_enable() can be replaced by helper function devm_clk_get_enabled(). Let's use devm_clk_get_enabled() to simplify code and avoid calling clk_disable_unprepare(). Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20240902123020.29267-3-zhangzekun11@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/func_utils.h')
0 files changed, 0 insertions, 0 deletions