[PATCH 0/2] Use helper function devm_clk_get_enabled()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.17.1





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux