Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7c596fa964806acb3b5ababb7ec4e1da35b140b3
Commit:     7c596fa964806acb3b5ababb7ec4e1da35b140b3
Parent:     b5457b7bdf284d683880163a4c59fdde2f84325a
Author:     Brett Warden <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 2 17:37:21 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:14:55 2007 -0300

    V4L/DVB (6250): bw-qcam use data_reverse instead of manually poking the 
control register fix
    
    coding-style repairs
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/bw-qcam.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/media/video/bw-qcam.c b/drivers/media/video/bw-qcam.c
index 0edd05e..7f7e3d3 100644
--- a/drivers/media/video/bw-qcam.c
+++ b/drivers/media/video/bw-qcam.c
@@ -104,7 +104,7 @@ static inline void write_lpdata(struct qcam_device *q, int 
d)
 
 static inline void write_lpcontrol(struct qcam_device *q, int d)
 {
-       if(0x20 & d) {
+       if (d & 0x20) {
                /* Set bidirectional mode to reverse (data in) */
                parport_data_reverse(q->pport);
        } else {
@@ -355,11 +355,11 @@ static int qc_detect(struct qcam_device *q)
        /* Be (even more) liberal in what you accept...  */
 
 /*     if (count > 30 && count < 200) */
-       if (count > 20 && count < 400)
-       {
+       if (count > 20 && count < 400) {
                return 1;       /* found */
        } else {
-               printk(KERN_ERR "No Quickcam found on port %s\n", 
q->pport->name);
+               printk(KERN_ERR "No Quickcam found on port %s\n",
+                       q->pport->name);
                return 0;       /* not found */
        }
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to