staging: wlags49_h2: remove direct declarations of KERN_<LEVEL> prefixes
authorJoe Perches <joe@perches.com>
Wed, 6 Jun 2012 21:46:44 +0000 (14:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 17:45:26 +0000 (10:45 -0700)
Use the standard KERN_<LEVEL> #defines instead of "<.>"

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Henk de Groot <pe1dnn@amsat.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/hcf.c
drivers/staging/wlags49_h2/wl_main.c

index 366e4a4b75c5ce2aa926a314acf3079b314066c5..423544634ae5e9c22ca9858797483cf578c98986 100644 (file)
@@ -705,7 +705,7 @@ hcf_action( IFBP ifbp, hcf_16 action )
                        // 800 us latency before FW switches to high power
                        MSF_WAIT(800);                              // MSF-defined function to wait n microseconds.
 //OOR                  if ( ifbp->IFB_DSLinkStat & CFG_LINK_STAT_DS_OOR ) { // OutOfRange
-//                             printk( "<5>ACT_INT_OFF: Deepsleep phase terminated, enable and go to AwaitConnection\n" );     //;?remove me 1 day
+//                             printk(KERN_NOTICE "ACT_INT_OFF: Deepsleep phase terminated, enable and go to AwaitConnection\n" );     //;?remove me 1 day
 //                             hcf_cntl( ifbp, HCF_CNTL_ENABLE );
 //                     }
 //                     ifbp->IFB_DSLinkStat &= ~( CFG_LINK_STAT_DS_IR | CFG_LINK_STAT_DS_OOR); //clear IR/OOR state
@@ -2979,7 +2979,7 @@ hcf_service_nic( IFBP ifbp, wci_bufp bufp, unsigned int len )
                        ltv.typ = CFG_DDS_TICK_TIME;
                        ltv.tick_time = ( ( ifbp->IFB_DSLinkStat & CFG_LINK_STAT_TIMER ) + 0x10 ) *64; //78 is more right
                        hcf_put_info( ifbp, (LTVP)&ltv );
-                       printk( "<5>Preparing for sleep, link_status: %04X, timer : %d\n",
+                       printk(KERN_NOTICE "Preparing for sleep, link_status: %04X, timer : %d\n",
                                ifbp->IFB_DSLinkStat, ltv.tick_time );//;?remove me 1 day
                        ifbp->IFB_TickCnt++; //;?just to make sure we do not keep on printing above message
                        if ( ltv.tick_time < 300 * 125 ) ifbp->IFB_DSLinkStat += 0x0010;
@@ -4221,11 +4221,11 @@ isr_info( IFBP ifbp )
 // /*4*/    if ( info[1] == CFG_LINK_STAT ) {
 //          ifbp->IFB_DSLinkStat = IPW( HREG_DATA_1 ) | CFG_LINK_STAT_CHANGE;   //corrupts BAP !! ;?
 //          ifbp->IFB_LinkStat = ifbp->IFB_DSLinkStat & CFG_LINK_STAT_FW; //;? to be obsoleted
-//          printk( "<4>linkstatus: %04x\n", ifbp->IFB_DSLinkStat );        //;?remove me 1 day
+//          printk(KERN_ERR "linkstatus: %04x\n", ifbp->IFB_DSLinkStat );        //;?remove me 1 day
 // #if (HCF_SLEEP) & HCF_DDS
 //          if ( ( ifbp->IFB_DSLinkStat & CFG_LINK_STAT_CONNECTED ) == 0 ) {    //even values are disconnected etc.
 //              ifbp->IFB_TickCnt = 0;              //start 2 second period (with 1 tick uncertanty)
-//              printk( "<5>isr_info: AwaitConnection phase started, IFB_TickCnt = 0\n" );      //;?remove me 1 day
+//              printk(KERN_NOTICE "isr_info: AwaitConnection phase started, IFB_TickCnt = 0\n" );      //;?remove me 1 day
 //          }
 // #endif // HCF_DDS
 //      }
index d5bf0a7012f2f4f8dc8bc96e97ef14f5d8a564c4..204107829577a84f35c9d17d6ae7a801452078ac 100644 (file)
@@ -3822,7 +3822,7 @@ static int write_int(struct file *file, const char *buffer, unsigned long count,
                lp->timer_oor.data = (unsigned long)lp;
                lp->timer_oor.expires = RUN_AT( 3 * HZ );
                add_timer( &lp->timer_oor );
-               printk( "<5>wl_enable: %ld\n", jiffies );               //;?remove me 1 day
+               printk(KERN_NOTICE "wl_enable: %ld\n", jiffies );               //;?remove me 1 day
 #endif //DN554
 #ifdef DN554
 /*******************************************************************************
@@ -3852,7 +3852,7 @@ void timer_oor( u_long arg )
     DBG_ENTER( DbgInfo );
     DBG_PARAM( DbgInfo, "arg", "0x%08lx", arg );
 
-       printk( "<5>timer_oor: %ld 0x%04X\n", jiffies, lp->timer_oor_cnt );             //;?remove me 1 day
+       printk(KERN_NOTICE "timer_oor: %ld 0x%04X\n", jiffies, lp->timer_oor_cnt );             //;?remove me 1 day
        lp->timer_oor_cnt += 10;
     if ( (lp->timer_oor_cnt & ~DS_OOR) > 300 ) {
                lp->timer_oor_cnt = 300;