Skip to content

clk: Make clk_rate_exclusive_get() return void

Uwe Kleine-König dri-devel linux-amlogic linux-arm-kernel linux-clk linux-pm linux-sunxi linux-tegra oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5PM / devfreq: sun8i-a33-mbus: Simplify usage of clk_rate_exclusive_get()drivers/devfreq/sun8i-a33-mbus.c+2 -121 reply
2/5drm/meson: Simplify usage of clk_rate_exclusive_get()drivers/gpu/drm/meson/meson_dw_mipi_dsi.c+1 -70 replies
3/5memory: tegra210-emc: Simplify usage of clk_rate_exclusive_get()drivers/memory/tegra/tegra210-emc-core.c+1 -51 reply
4/5memory: tegra30-emc: Simplify usage of clk_rate_exclusive_get()drivers/memory/tegra/tegra30-emc.c+1 -51 reply
5/5clk: Make clk_rate_exclusive_get() return voiddrivers/clk/clk.c include/linux/clk.h+5 -90 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchAndre PrzywaraKrzysztof Kozlowski
1/5R-b
2/5
3/5A-b
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] clk: Make clk_rate_exclusive_get() return void

Hello,

clk_rate_exclusive_get() returns zero unconditionally. Most users "know" that and don't check the return value. This series fixes the four users that do error checking on the returned value and then makes function return void.

Given that the changes to the drivers are simple and so merge conflicts (if any) should be easy to handle, I suggest to merge this complete series via the clk tree.

Best regards
Uwe

Uwe Kleine-König (5):
PM / devfreq: sun8i-a33-mbus: Simplify usage of
clk_rate_exclusive_get()
drm/meson: Simplify usage of clk_rate_exclusive_get()
memory: tegra210-emc: Simplify usage of clk_rate_exclusive_get()
memory: tegra30-emc: Simplify usage of clk_rate_exclusive_get()
clk: Make clk_rate_exclusive_get() return void

 drivers/clk/clk.c                         |  6 ++----
 drivers/devfreq/sun8i-a33-mbus.c          | 14 ++------------
 drivers/gpu/drm/meson/meson_dw_mipi_dsi.c |  8 +-------
 drivers/memory/tegra/tegra210-emc-core.c  |  6 +-----
 drivers/memory/tegra/tegra30-emc.c        |  6 +-----
 include/linux/clk.h                       |  8 +++-----
 6 files changed, 10 insertions(+), 38 deletions(-)

base-commit: bbd220ce4e29ed55ab079007cff0b550895258eb

Signature · 1 line
2.42.0