aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
diff options
context:
space:
mode:
authorAishwarya Pant <aishpant@gmail.com>2017-03-03 00:25:56 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 14:12:31 +0100
commit01fb592f9383a405c9f061d385f434fdf207d51e (patch)
tree5b110411cb575920282b1426f46164a74ce05cd2 /drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
parentstaging: bcm2835-audio: remove space after cast (diff)
downloadlinux-dev-01fb592f9383a405c9f061d385f434fdf207d51e.tar.xz
linux-dev-01fb592f9383a405c9f061d385f434fdf207d51e.zip
staging: bcm2835-audio: move logical continuation to the same line
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>
Diffstat (limited to 'drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c')
-rw-r--r--drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
index 99e9ca3e37e6..17d34c0ed1b7 100644
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
@@ -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;