aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 12:03:31 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 12:03:31 -0400
commit6c27ad83ace843d339f7893a4af0b65cdfeb130c (patch)
tree55bac703f23c513763a8ec1ff3975c45b0be4d3e /drivers/usb/serial
parent7663e3088dcf810435c644f73bd2909362b8dc49 (diff)
USB: serial: kobil_sct: switch 4 remaining printk() calls to use dev_dbg
These somehow got missed previously (as they weren't calling dbg(), but rather printk() directly), so move over to using dev_dbg() as we never want to see startup messages unless debugging is enabled. Cc: Johan Hovold <jhovold@gmail.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/kobil_sct.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c
index 30f07dbab23..ca62fccccf3 100644
--- a/drivers/usb/serial/kobil_sct.c
+++ b/drivers/usb/serial/kobil_sct.c
@@ -137,17 +137,16 @@ static int kobil_startup(struct usb_serial *serial)
137 137
138 switch (priv->device_type) { 138 switch (priv->device_type) {
139 case KOBIL_ADAPTER_B_PRODUCT_ID: 139 case KOBIL_ADAPTER_B_PRODUCT_ID:
140 printk(KERN_DEBUG "KOBIL B1 PRO / KAAN PRO detected\n"); 140 dev_dbg(&serial->dev->dev, "KOBIL B1 PRO / KAAN PRO detected\n");
141 break; 141 break;
142 case KOBIL_ADAPTER_K_PRODUCT_ID: 142 case KOBIL_ADAPTER_K_PRODUCT_ID:
143 printk(KERN_DEBUG 143 dev_dbg(&serial->dev->dev, "KOBIL KAAN Standard Plus / SecOVID Reader Plus detected\n");
144 "KOBIL KAAN Standard Plus / SecOVID Reader Plus detected\n");
145 break; 144 break;
146 case KOBIL_USBTWIN_PRODUCT_ID: 145 case KOBIL_USBTWIN_PRODUCT_ID:
147 printk(KERN_DEBUG "KOBIL USBTWIN detected\n"); 146 dev_dbg(&serial->dev->dev, "KOBIL USBTWIN detected\n");
148 break; 147 break;
149 case KOBIL_KAAN_SIM_PRODUCT_ID: 148 case KOBIL_KAAN_SIM_PRODUCT_ID:
150 printk(KERN_DEBUG "KOBIL KAAN SIM detected\n"); 149 dev_dbg(&serial->dev->dev, "KOBIL KAAN SIM detected\n");
151 break; 150 break;
152 } 151 }
153 usb_set_serial_port_data(serial->port[0], priv); 152 usb_set_serial_port_data(serial->port[0], priv);