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 6b92011..fa16a89 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);
                }