summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/ti81xx-restart.c
diff options
context:
space:
mode:
authorFranziska Naepelt <franziska.naepelt@googlemail.com>2023-05-31 19:04:27 +0200
committerTony Lindgren <tony@atomide.com>2023-06-02 11:33:48 +0200
commit937e87229ea04e94c4f1a2f3f5ae9d2c56989acd (patch)
treed017f109f2b9942c0f6e3666c95c7d9068136b7f /arch/arm/mach-omap2/ti81xx-restart.c
parentarm: omap1: replace printk() with pr_err macro (diff)
downloadlinux-937e87229ea04e94c4f1a2f3f5ae9d2c56989acd.tar.xz
linux-937e87229ea04e94c4f1a2f3f5ae9d2c56989acd.zip
ARM: omap2: Fix checkpatch issues
The following checkpatch issues have been resolved: arch/arm/mach-omap2/omap-wakeupgen.c WARNING: Missing a blank line after declarations arch/arm/mach-omap2/omap_hwmod_3xxx_data.c ERROR: space prohibited before that ',' (ctx:WxE) WARNING: Use lore.kernel.org archive links when possible arch/arm/mach-omap2/omap_phy_internal.c WARNING: Block comments should align the * on each line arch/arm/mach-omap2/sdrc2xxx.c WARNING: It's generally not useful to have the filename in the file arch/arm/mach-omap2/ti81xx-restart.c ERROR: trailing statements should be on next line Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com> Message-ID: <20230531170427.42199-1-franziska.naepelt@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-omap2/ti81xx-restart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/ti81xx-restart.c b/arch/arm/mach-omap2/ti81xx-restart.c
index d6dc518b1dde..5b5fb37caa50 100644
--- a/arch/arm/mach-omap2/ti81xx-restart.c
+++ b/arch/arm/mach-omap2/ti81xx-restart.c
@@ -26,5 +26,6 @@ void ti81xx_restart(enum reboot_mode mode, const char *cmd)
{
omap2_prm_set_mod_reg_bits(TI81XX_GLOBAL_RST_COLD, 0,
TI81XX_PRM_DEVICE_RSTCTRL);
- while (1);
+ while (1)
+ ;
}