Linux USB
 help / color / mirror / Atom feed
* [PATCH 0/2] Use helper function devm_clk_get_enabled()
@ 2024-09-02 12:30 Zhang Zekun
  2024-09-02 12:30 ` [PATCH 1/2] usb: dwc3: " Zhang Zekun
  2024-09-02 12:30 ` [PATCH 2/2] usb: ohci-nxp: " Zhang Zekun
  0 siblings, 2 replies; 7+ messages in thread
From: Zhang Zekun @ 2024-09-02 12:30 UTC (permalink / raw)
  To: patchwork, Thinh.Nguyen, gregkh, shawnguo, s.hauer, kernel,
	festevam, linux-usb, vz, stern
  Cc: zhangzekun11

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-05  1:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 12:30 [PATCH 0/2] Use helper function devm_clk_get_enabled() Zhang Zekun
2024-09-02 12:30 ` [PATCH 1/2] usb: dwc3: " Zhang Zekun
2024-09-03 22:06   ` Thinh Nguyen
2024-09-04  8:49   ` Greg KH
2024-09-05  1:13     ` zhangzekun (A)
2024-09-02 12:30 ` [PATCH 2/2] usb: ohci-nxp: " Zhang Zekun
2024-09-02 13:59   ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox