USB: remove warn() macro from usb drivers
USB should not be having it's own printk macros, so remove warn() and use the system-wide standard of dev_warn() wherever possible. In the few places that will not work out, use a basic printk(). Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -193,7 +193,7 @@ static int __init xusbatm_init(void)
|
||||
num_vendor != num_product ||
|
||||
num_vendor != num_rx_endpoint ||
|
||||
num_vendor != num_tx_endpoint) {
|
||||
warn("malformed module parameters");
|
||||
printk(KERN_WARNING "xusbatm: malformed module parameters\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user