mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
ASoC: wm8940: drop unneeded semicolon
When a function-like macro expands to an expression, that expression
doesn't need a semicolon after it. All uses have been verified to
have their own semicolons.
This was found using the following Coccinelle semantic patch:
@r@
identifier i : script:ocaml() { String.lowercase_ascii i = i };
expression e;
@@
*#define i(...) e;
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://patch.msgid.link/20260801191002.1383835-11-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
99ddfbba9e
commit
222e8029a7
|
|
@ -333,7 +333,7 @@ static const struct snd_soc_dapm_route wm8940_dapm_routes[] = {
|
|||
{"ADC", NULL, "Boost Mixer"},
|
||||
};
|
||||
|
||||
#define wm8940_reset(c) snd_soc_component_write(c, WM8940_SOFTRESET, 0);
|
||||
#define wm8940_reset(c) snd_soc_component_write(c, WM8940_SOFTRESET, 0)
|
||||
|
||||
static int wm8940_set_dai_fmt(struct snd_soc_dai *codec_dai,
|
||||
unsigned int fmt)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user