From: Aishwarya Pant Date: Thu, 2 Mar 2017 18:55:56 +0000 (+0530) Subject: staging: bcm2835-audio: move logical continuation to the same line X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01fb592f9383a405c9f061d385f434fdf207d51e;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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;