Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH 0/5] clk: Make clk_rate_exclusive_get() return void
@ 2023-12-12 17:26 Uwe Kleine-König
  2023-12-12 17:26 ` [PATCH 1/5] PM / devfreq: sun8i-a33-mbus: Simplify usage of clk_rate_exclusive_get() Uwe Kleine-König
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Uwe Kleine-König @ 2023-12-12 17:26 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Russell King
  Cc: linux-clk, MyungJoo Ham, Kyungmin Park, Chanwoo Choi,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-pm,
	linux-arm-kernel, linux-sunxi, Neil Armstrong, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl, dri-devel,
	linux-amlogic, Krzysztof Kozlowski, Thierry Reding,
	Jonathan Hunter, Rob Herring, linux-tegra, Johan Hovold,
	Georgi Djakov, kernel

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
-- 
2.42.0


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

end of thread, other threads:[~2023-12-15 18:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 17:26 [PATCH 0/5] clk: Make clk_rate_exclusive_get() return void Uwe Kleine-König
2023-12-12 17:26 ` [PATCH 1/5] PM / devfreq: sun8i-a33-mbus: Simplify usage of clk_rate_exclusive_get() Uwe Kleine-König
2023-12-12 18:16   ` Andre Przywara
2023-12-12 17:26 ` [PATCH 5/5] clk: Make clk_rate_exclusive_get() return void Uwe Kleine-König
2023-12-13  7:16 ` [PATCH 0/5] " Maxime Ripard
2023-12-13  7:43   ` Uwe Kleine-König
2023-12-13  8:36     ` Maxime Ripard
2023-12-13 11:08       ` Uwe Kleine-König
2023-12-13 11:54         ` Maxime Ripard
2023-12-13 15:52           ` Uwe Kleine-König
2023-12-15 12:34             ` Maxime Ripard
2023-12-15 15:15               ` Uwe Kleine-König
2023-12-15 18:49                 ` Uwe Kleine-König
2023-12-13 16:44       ` Neil Armstrong
2023-12-15  9:11         ` Maxime Ripard
2023-12-15  9:46         ` Jerome Brunet
2023-12-15  8:41   ` Jerome Brunet

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