staging: bcm2835-audio: move logical continuation to the same line
authorAishwarya Pant <aishpant@gmail.com>
Thu, 2 Mar 2017 18:55:56 +0000 (00:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 13:12:31 +0000 (14:12 +0100)
Keep logical continuations on the same line to improve code readability

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c

index 99e9ca3e37e61d6d41cfd2e1bdeae1f72c8a66b4..17d34c0ed1b73fdf375bb3e6ab7bc614583013da 100644 (file)
@@ -122,8 +122,7 @@ static int snd_bcm2835_ctl_put(struct snd_kcontrol *kcontrol,
                        changed = 1; /* should return 0 to signify no change but the mixer takes this as the opposite sign (no idea why) */
                        goto unlock;
                }
-               if (changed
-                       || (ucontrol->value.integer.value[0] != chip2alsa(chip->volume))) {
+               if (changed || (ucontrol->value.integer.value[0] != chip2alsa(chip->volume))) {
 
                        chip->volume = alsa2chip(ucontrol->value.integer.value[0]);
                        changed = 1;