From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Russell King <linux@armlinux.org.uk>
Cc: linux-clk@vger.kernel.org,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev,
Neil Armstrong <neil.armstrong@linaro.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
dri-devel@lists.freedesktop.org,
linux-amlogic@lists.infradead.org,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Rob Herring <robh@kernel.org>,
linux-tegra@vger.kernel.org,
Johan Hovold <johan+linaro@kernel.org>,
Georgi Djakov <djakov@kernel.org>,
kernel@pengutronix.de
Subject: [PATCH 0/5] clk: Make clk_rate_exclusive_get() return void
Date: Tue, 12 Dec 2023 18:26:37 +0100 [thread overview]
Message-ID: <cover.1702400947.git.u.kleine-koenig@pengutronix.de> (raw)
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
next reply other threads:[~2023-12-12 17:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 17:26 Uwe Kleine-König [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1702400947.git.u.kleine-koenig@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=airlied@gmail.com \
--cc=cw00.choi@samsung.com \
--cc=daniel@ffwll.ch \
--cc=djakov@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jbrunet@baylibre.com \
--cc=jernej.skrabec@gmail.com \
--cc=johan+linaro@kernel.org \
--cc=jonathanh@nvidia.com \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maarten.lankhorst@linux.intel.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=mripard@kernel.org \
--cc=mturquette@baylibre.com \
--cc=myungjoo.ham@samsung.com \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=sboyd@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=tzimmermann@suse.de \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox