Skip to content

Commit

Permalink
mfd: madera: Remove spurious semicolon in while loop
Browse files Browse the repository at this point in the history
Coccinelle warning of a spurious semicolon on the closing brace
of a while loop.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Richard Fitzgerald authored and Lee Jones committed Jan 3, 2019
1 parent f7b1e49 commit 4bcb83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/madera-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static int madera_wait_for_boot(struct madera *madera)
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");
Expand Down

0 comments on commit 4bcb83e

Please sign in to comment.