Skip to content

Commit 46394db

Browse files
JuliaLawalltiwai
authored andcommitted
ALSA: hda: use semicolons rather than commas to separate statements
Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // <smpl> @@ expression e1,e2; @@ e1 -, +; e2 ... when any // </smpl> Signed-off-by: Julia Lawall <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 4dda3a1 commit 46394db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sound/pci/hda/patch_ca0132.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3114,7 +3114,7 @@ static int dspxfr_one_seg(struct hda_codec *codec,
31143114
}
31153115

31163116
data = fls->data;
3117-
chip_addx = fls->chip_addr,
3117+
chip_addx = fls->chip_addr;
31183118
words_to_write = fls->count;
31193119

31203120
if (!words_to_write)

sound/pci/hda/patch_hdmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2451,7 +2451,7 @@ static int alloc_generic_hdmi(struct hda_codec *codec)
24512451
spec->chmap.ops.get_chmap = hdmi_get_chmap;
24522452
spec->chmap.ops.set_chmap = hdmi_set_chmap;
24532453
spec->chmap.ops.is_pcm_attached = is_hdmi_pcm_attached;
2454-
spec->chmap.ops.get_spk_alloc = hdmi_get_spk_alloc,
2454+
spec->chmap.ops.get_spk_alloc = hdmi_get_spk_alloc;
24552455

24562456
codec->spec = spec;
24572457
hdmi_array_init(spec, 4);

0 commit comments

Comments
 (0)