Skip to content

Add a devm_of_clk_add_hw_provider() API

Stephen Boyd linux-clk lkml 1 version Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2clk: Add devm_of_clk_add_hw_provider()/del_provider() APIsDocumentation/driver-model/devres.txt drivers/clk/clk.c include/linux/clk-provider.h+66 -01 reply
2/2clk: qcom: common: Migrate to devm_* APIs for resets and clk providersdrivers/clk/qcom/common.c+2 -241 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Add a devm_of_clk_add_hw_provider() API

This cleans up some open-coded versions of this API and makes it official. It's also another carrot to convert drivers to use the clk hw registration APIs instead of the clk registration APIs.

Stephen Boyd (2):
clk: Add devm_of_clk_add_hw_provider()/del_provider() APIs
clk: qcom: common: Migrate to devm_* APIs for resets and clk providers

 Documentation/driver-model/devres.txt |  1 +
 drivers/clk/clk.c                     | 52 +++++++++++++++++++++++++++++++++++
 drivers/clk/qcom/common.c             | 26 ++----------------
 include/linux/clk-provider.h          | 13 +++++++++
 4 files changed, 68 insertions(+), 24 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project