summaryrefslogtreecommitdiff
path: root/drivers/usb/atm/xusbatm.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2020-12-08 10:32:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 15:22:51 +0100
commitba7052f52c13a6feeced5adbb906b6b7ef7efab8 (patch)
tree160d9e282ef123238ae014fb3cb7b4b254f266b3 /drivers/usb/atm/xusbatm.c
parent6d4e3866b7656268a04f518a7feb2c4698d8b899 (diff)
drivers: usb: atm: use pr_err() and pr_warn() instead of raw printk()
Since we have the nice helpers pr_err() and pr_warn(), use them instead of raw printk(). Acked-by: Duncan Sands <duncan.sands@free.fr> Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Link: https://lore.kernel.org/r/20201208093206.24780-3-info@metux.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/atm/xusbatm.c')
-rw-r--r--drivers/usb/atm/xusbatm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/xusbatm.c
index ffc9810070a3..0befbf63d1cc 100644
--- a/drivers/usb/atm/xusbatm.c
+++ b/drivers/usb/atm/xusbatm.c
@@ -179,7 +179,7 @@ static int __init xusbatm_init(void)
num_vendor != num_product ||
num_vendor != num_rx_endpoint ||
num_vendor != num_tx_endpoint) {
- printk(KERN_WARNING "xusbatm: malformed module parameters\n");
+ pr_warn("xusbatm: malformed module parameters\n");
return -EINVAL;
}