mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
watchdog: rzn1: Fix reverse xmas tree declaration
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> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20260324114849.242755-2-herve.codina@bootlin.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
07d690db9f
commit
cde09b031d
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user