@@ -109,7 +109,7 @@ static void mos7720_interrupt_callback(struct urb *urb)
109109 __u8 sp1 ;
110110 __u8 sp2 ;
111111
112- dbg ("%s" , " : Entering\n " );
112+ dbg (" : Entering" );
113113
114114 switch (status ) {
115115 case 0 :
@@ -278,7 +278,7 @@ static void mos7720_bulk_in_callback(struct urb *urb)
278278
279279 mos7720_port = urb -> context ;
280280 if (!mos7720_port ) {
281- dbg ("%s" , " NULL mos7720_port pointer \n " );
281+ dbg ("NULL mos7720_port pointer" );
282282 return ;
283283 }
284284
@@ -386,7 +386,7 @@ static int send_mos_cmd(struct usb_serial *serial, __u8 request, __u16 value,
386386 }
387387out :
388388 if (status < 0 )
389- dbg ("Command Write failed Value %x index %x\n " , value , index );
389+ dbg ("Command Write failed Value %x index %x" , value , index );
390390
391391 return status ;
392392}
@@ -491,7 +491,7 @@ static int mos7720_open(struct tty_struct *tty, struct usb_serial_port *port)
491491 */
492492 port_number = port -> number - port -> serial -> minor ;
493493 send_mos_cmd (port -> serial , MOS_READ , port_number , UART_LSR , & data );
494- dbg ("SS::%p LSR:%x\n " , mos7720_port , data );
494+ dbg ("SS::%p LSR:%x" , mos7720_port , data );
495495
496496 dbg ("Check:Sending Command .........." );
497497
@@ -830,7 +830,7 @@ static void mos7720_throttle(struct tty_struct *tty)
830830 struct moschip_port * mos7720_port ;
831831 int status ;
832832
833- dbg ("%s- port %d\n " , __func__ , port -> number );
833+ dbg ("%s- port %d" , __func__ , port -> number );
834834
835835 mos7720_port = usb_get_serial_port_data (port );
836836
@@ -1309,7 +1309,7 @@ static void mos7720_set_termios(struct tty_struct *tty,
13091309 return ;
13101310 }
13111311
1312- dbg ("%s\n" , " setting termios - ASPIRE" );
1312+ dbg ("setting termios - ASPIRE" );
13131313
13141314 cflag = tty -> termios -> c_cflag ;
13151315
@@ -1327,7 +1327,7 @@ static void mos7720_set_termios(struct tty_struct *tty,
13271327 change_port_settings (tty , mos7720_port , old_termios );
13281328
13291329 if (!port -> read_urb ) {
1330- dbg ("%s" , " URB KILLED !!!!!\n " );
1330+ dbg ("URB KILLED !!!!!" );
13311331 return ;
13321332 }
13331333
0 commit comments