mfd: madera: Remove spurious semicolon in while loop
Subsystems (2)
Richard Fitzgerald
maintainerPATCH 1/1 mfd: madera: Remove spurious semicolon in while loop
Coccinelle warning of a spurious semicolon on the closing brace of a while loop.
Signed-off-by Richard Fitzgerald <[email protected]>
--- drivers/mfd/madera-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/madera-core.c +1 -1
@@ -154,11 +154,11 @@ static int madera_wait_for_boot(struct madera *madera)while (!(val &MADERA_BOOT_DONE_STS1 ) && !ktime_after (ktime_get (), timeout)) {usleep_range (MADERA_BOOT_POLL_INTERVAL_USEC /2 ,MADERA_BOOT_POLL_INTERVAL_USEC );regmap_read (madera->regmap,MADERA_IRQ1_RAW_STATUS_1 , &val); - }; + }if (!(val &MADERA_BOOT_DONE_STS1 )) {dev_err (madera->dev,"Polling BOOT_DONE_STS timed out\n" ); ret = -ETIMEDOUT ; }
Signature · 1 line
2.11.0
Lee Jones
AppliedQuoted 7 lines · Richard Fitzgerald
Coccinelle warning of a spurious semicolon on the closing brace of a while loop.
Signed-off-by Richard Fitzgerald <[email protected]>--- drivers/mfd/madera-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog