]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
staging: greybus: audio_codec.c: Logical continuations should be on the previous...
authorKamal Heib <kamalheib1@gmail.com>
Wed, 17 Jan 2018 14:52:28 +0000 (16:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2018 10:49:24 +0000 (11:49 +0100)
Fix the following error found by checkpatch.pl:
CHECK: Logical continuations should be on the previous line

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_codec.c

index 6b920113b918575a642737ee53a0e8b118ee2751..fa16a893449f7b7e5cc68d13274e33ce471671d3 100644 (file)
@@ -841,8 +841,8 @@ int gbaudio_register_module(struct gbaudio_module_info *module)
                 * from codec->jack_list
                 */
                list_for_each_entry(jack, &codec->jack_list, list) {
-                       if ((jack == &module->headset_jack)
-                           || (jack == &module->button_jack))
+                       if ((jack == &module->headset_jack) ||
+                           (jack == &module->button_jack))
                                snd_device_register(codec->card->snd_card,
                                                    jack->jack);
                }