From: "Geert Uytterhoeven" <geert+renesas@glider.be>
To: "Markus Elfring" <Markus.Elfring@web.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
kernel-janitors@vger.kernel.org,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Christophe Jaillet" <christophe.jaillet@wanadoo.fr>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Frank Li" <Frank.Li@kernel.org>,
"Michal Simek" <michal.simek@amd.com>,
linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org,
"Jacopo Mondi" <jacopo+renesas@jmondi.org>,
"Linus Walleij" <linusw@kernel.org>,
"Wolfram Sang" <wsa+renesas@sang-engineering.com>,
"Phil Edworthy" <phil.edworthy@renesas.com>
Subject: Re: [PATCH v2] pinctrl: renesas: rzn1: Use devm_clk_get_enabled() in rzn1_pinctrl_probe()
Date: Thu, 26 Nov 2026 17:24:32 +0100 [thread overview]
Message-ID: <c3281c86-0326-4d9a-908b-ca461d038052@app.fastmail.com> (raw)
In-Reply-To: <02632c0d-110f-4d42-82f8-30091468aa91@web.de>
On Mon, Nov 23, 2026, at 15:21, Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 23 Nov 2026 15:00:10 +0100
>
> * Reuse existing functionality from devm_clk_get_enabled() instead of
> keeping duplicate source code.
>
> * Delete a clk_disable_unprepare() call on an error handling path
> and the implementation of the function “rzn1_pinctrl_remove”.
>
> * Convert the data structure member “clk” to a local variable.
>
> * Omit the label “err_clk”.
And platform_set_drvdata()...
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
>
> V2:
> Wolfram Sang requested further adjustments according to the proposed changes.
> https://lore.kernel.org/linux-gpio/awQ7qa5FGG9RETtS@ninjato/
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-pinctrl for v7.5.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
prev parent reply other threads:[~2026-11-26 16:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 14:21 Markus Elfring
2026-11-23 17:08 ` Wolfram Sang
2026-11-26 16:24 ` Geert Uytterhoeven [this message]
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=c3281c86-0326-4d9a-908b-ca461d038052@app.fastmail.com \
--to=geert+renesas@glider.be \
--cc=Frank.Li@kernel.org \
--cc=Markus.Elfring@web.de \
--cc=andriy.shevchenko@linux.intel.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=f.fainelli@gmail.com \
--cc=jacopo+renesas@jmondi.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=phil.edworthy@renesas.com \
--cc=wsa+renesas@sang-engineering.com \
/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
all inboxes | Powered by JetHome®