]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] cx25821-medusa-video.c: Move operators
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Sat, 22 Oct 2011 04:43:39 +0000 (01:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 20:52:58 +0000 (18:52 -0200)
Plase operators in complex expressions at the end of the lines to
preserve consistency.

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25821/cx25821-medusa-video.c

index 48c62c997502418871171d05bad21c0ff2e18928..1ae0e8a4068c9c0c764f89a6c5b344811ffc3bb3 100644 (file)
@@ -654,8 +654,8 @@ int medusa_set_brightness(struct cx25821_dev *dev, int brightness, int decoder)
        u32 val = 0, tmp = 0;
 
        mutex_lock(&dev->lock);
-       if ((brightness > VIDEO_PROCAMP_MAX)
-           || (brightness < VIDEO_PROCAMP_MIN)) {
+       if ((brightness > VIDEO_PROCAMP_MAX) ||
+           (brightness < VIDEO_PROCAMP_MIN)) {
                mutex_unlock(&dev->lock);
                return -1;
        }
@@ -743,8 +743,8 @@ int medusa_set_saturation(struct cx25821_dev *dev, int saturation, int decoder)
 
        mutex_lock(&dev->lock);
 
-       if ((saturation > VIDEO_PROCAMP_MAX)
-           || (saturation < VIDEO_PROCAMP_MIN)) {
+       if ((saturation > VIDEO_PROCAMP_MAX) ||
+           (saturation < VIDEO_PROCAMP_MIN)) {
                mutex_unlock(&dev->lock);
                return -1;
        }