mbox series

[0/2] Use helper function devm_clk_get_enabled()

Message ID 20240902123020.29267-1-zhangzekun11@huawei.com (mailing list archive)
Headers show
Series Use helper function devm_clk_get_enabled() | expand

Message

zhangzekun (A) Sept. 2, 2024, 12:30 p.m. UTC
devm_clk_get() and clk_prepare_enable() can be replaced by helper function
devm_clk_get_enabled(). Use helper function devm_clk_get_enabled() to
simplify code.

Zhang Zekun (2):
  usb: dwc3: Use helper function devm_clk_get_enabled()
  usb: ohci-nxp: Use helper function devm_clk_get_enabled()

 drivers/usb/dwc3/dwc3-imx8mp.c | 47 ++++++++--------------------------
 drivers/usb/host/ohci-nxp.c    | 18 +++----------
 2 files changed, 15 insertions(+), 50 deletions(-)