From: "Herve Codina (Schneider Electric)" <herve.codina@bootlin.com>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>
Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org,
Pascal Eberhard <pascal.eberhard@se.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
"Herve Codina (Schneider Electric)" <herve.codina@bootlin.com>
Subject: [PATCH v2 1/3] watchdog: rzn1: Fix reverse xmas tree declaration
Date: Fri, 13 Mar 2026 10:24:14 +0100 [thread overview]
Message-ID: <20260313092417.294356-2-herve.codina@bootlin.com> (raw)
In-Reply-To: <20260313092417.294356-1-herve.codina@bootlin.com>
Variables declared in probe() don't follow the reverse xmas
tree convention.
Fix the declaration in order to follow the convention.
Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
---
drivers/watchdog/rzn1_wdt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/rzn1_wdt.c b/drivers/watchdog/rzn1_wdt.c
index 96fd04fbc2a2..b7034eac91d0 100644
--- a/drivers/watchdog/rzn1_wdt.c
+++ b/drivers/watchdog/rzn1_wdt.c
@@ -101,10 +101,10 @@ static const struct watchdog_ops rzn1_wdt_ops = {
static int rzn1_wdt_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
- struct rzn1_watchdog *wdt;
struct device_node *np = dev->of_node;
- struct clk *clk;
+ struct rzn1_watchdog *wdt;
unsigned long clk_rate;
+ struct clk *clk;
int ret;
int irq;
--
2.53.0
next prev parent reply other threads:[~2026-03-13 9:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 9:24 [PATCH v2 0/3] watchdog: rzn1: Add support for direct hardware reset Herve Codina (Schneider Electric)
2026-03-13 9:24 ` Herve Codina (Schneider Electric) [this message]
2026-03-13 17:09 ` [PATCH v2 1/3] watchdog: rzn1: Fix reverse xmas tree declaration Wolfram Sang
2026-03-13 9:24 ` [PATCH v2 2/3] watchdog: rzn1: Use dev_err_probe() Herve Codina (Schneider Electric)
2026-03-13 17:12 ` Wolfram Sang
2026-03-13 9:24 ` [PATCH v2 3/3] clk: renesas: r9a06g032: Enable watchdog reset sources Herve Codina (Schneider Electric)
2026-03-13 17:15 ` Wolfram Sang
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=20260313092417.294356-2-herve.codina@bootlin.com \
--to=herve.codina@bootlin.com \
--cc=geert+renesas@glider.be \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=miquel.raynal@bootlin.com \
--cc=mturquette@baylibre.com \
--cc=pascal.eberhard@se.com \
--cc=sboyd@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=wim@linux-watchdog.org \
--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