diff options
author | Aishwarya Pant <aishpant@gmail.com> | 2017-03-03 00:25:56 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 14:12:31 +0100 |
commit | 01fb592f9383a405c9f061d385f434fdf207d51e (patch) | |
tree | 5b110411cb575920282b1426f46164a74ce05cd2 /drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | |
parent | staging: bcm2835-audio: remove space after cast (diff) | |
download | linux-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.c | 3 |
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; |