aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2018-01-17 16:52:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-22 11:49:24 +0100
commit6a4dd600eb2f289422a366d2fcf1dc0dd974c71b (patch)
tree5cb2b2172f79471be8cfe1a7088ceb7c672284d2 /drivers/staging/greybus
parentstaging: greybus: audio_codec.c: Space required around ':' (diff)
downloadlinux-dev-6a4dd600eb2f289422a366d2fcf1dc0dd974c71b.tar.xz
linux-dev-6a4dd600eb2f289422a366d2fcf1dc0dd974c71b.zip
staging: greybus: audio_codec.c: Logical continuations should be on the previous line
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>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/audio_codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
index 6b920113b918..fa16a893449f 100644
--- a/drivers/staging/greybus/audio_codec.c
+++ b/drivers/staging/greybus/audio_codec.c
@@ -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);
}