ChangeSet 1.2065.3.35, 2005/03/12 08:30:07-08:00, [EMAIL PROTECTED]

        [PATCH] miropcm20-radio cleanup
        
        This is cleanup of file miropcm20-radio.c
        
        Compile tested.
        
        Signed-off-by: Marcel Sebek <[EMAIL PROTECTED]>
        Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
        Signed-off-by: Gerd Knorr <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 miropcm20-radio.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)


diff -Nru a/drivers/media/radio/miropcm20-radio.c 
b/drivers/media/radio/miropcm20-radio.c
--- a/drivers/media/radio/miropcm20-radio.c     2005-03-12 21:32:04 -08:00
+++ b/drivers/media/radio/miropcm20-radio.c     2005-03-12 21:32:04 -08:00
@@ -75,9 +75,7 @@
 
        if ((i=aci_rw_cmd(ACI_READ_TUNERSTATION, -1, -1))<0)
                return i;
-#ifdef DEBUG
-       printk("check_sig: 0x%x\n", i);
-#endif
+       pr_debug("check_sig: 0x%x\n", i);
        if (i & 0x80) {
                /* no signal from tuner */
                *flags=0;
@@ -107,9 +105,7 @@
 
        if ((i=aci_rds_cmd(RDS_RXVALUE, &buf, 1))<0)
                return i;
-#ifdef DEBUG
-       printk("rds-signal: %d\n", buf);
-#endif
+       pr_debug("rds-signal: %d\n", buf);
        if (buf > 15) {
                printk("miropcm20-radio: RX strengths unexpected high...\n");
                buf=15;
@@ -172,9 +168,7 @@
                        unsigned long *freq = arg;
                        pcm20->freq = *freq;
                        i=pcm20_setfreq(pcm20, pcm20->freq);
-#ifdef DEBUG
-                       printk("First view (setfreq): 0x%x\n", i);
-#endif
+                       pr_debug("First view (setfreq): 0x%x\n", i);
                        return i;
                }
                case VIDIOCGAUDIO:
-
To unsubscribe from this list: send the line "unsubscribe bk-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