linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] watchdog: imx_sc: this patch just fixes whitespaces
@ 2019-09-05  7:44 Oliver Graute
  2019-09-05 13:24 ` Guenter Roeck
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Graute @ 2019-09-05  7:44 UTC (permalink / raw)
  To: oliver.graute@gmail.com
  Cc: Mark Rutland, Aisheng Dong, Ulf Hansson,
	linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
	Fabio Estevam, Oliver Graute, linux-kernel@vger.kernel.org,
	Daniel Baluta, Rob Herring, NXP Linux Team,
	Pengutronix Kernel Team, Wim Van Sebroeck, Shawn Guo,
	Sascha Hauer, Guenter Roeck, linux-arm-kernel@lists.infradead.org

Fix only whitespace errors in imx_sc_wdt_probe()

Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
---
 drivers/watchdog/imx_sc_wdt.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/watchdog/imx_sc_wdt.c b/drivers/watchdog/imx_sc_wdt.c
index 78eaaf75a263..94db949042c9 100644
--- a/drivers/watchdog/imx_sc_wdt.c
+++ b/drivers/watchdog/imx_sc_wdt.c
@@ -175,12 +175,12 @@ static int imx_sc_wdt_probe(struct platform_device *pdev)
 	watchdog_stop_on_unregister(wdog);
 
 	ret = devm_watchdog_register_device(dev, wdog);
- 
- 	if (ret) {
- 		dev_err(dev, "Failed to register watchdog device\n");
- 		return ret;
- 	}
- 
+
+	if (ret) {
+		dev_err(dev, "Failed to register watchdog device\n");
+		return ret;
+	}
+
 	ret = imx_scu_irq_group_enable(SC_IRQ_GROUP_WDOG,
 				       SC_IRQ_WDOG,
 				       true);
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-09-05 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-05  7:44 [PATCH v1] watchdog: imx_sc: this patch just fixes whitespaces Oliver Graute
2019-09-05 13:24 ` Guenter Roeck
2019-09-05 14:35   ` Oliver Graute
2019-09-05 15:06     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).