drivers: usb: atm: use atm_info() instead of atm_printk(KERN_INFO ...
authorEnrico Weigelt, metux IT consult <info@metux.net>
Tue, 8 Dec 2020 09:32:05 +0000 (10:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2020 14:22:51 +0000 (15:22 +0100)
Since we already have the useful atm_info() macro, use it instead of
raw atm_printk()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Link: https://lore.kernel.org/r/20201208093206.24780-2-info@metux.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/atm/cxacru.c

index 0114cc5..4d39474 100644 (file)
@@ -849,15 +849,15 @@ static void cxacru_poll_status(struct work_struct *work)
 
                switch (instance->adsl_status) {
                case 0:
-                       atm_printk(KERN_INFO, usbatm, "ADSL state: running\n");
+                       atm_info(usbatm, "ADSL state: running\n");
                        break;
 
                case 1:
-                       atm_printk(KERN_INFO, usbatm, "ADSL state: stopped\n");
+                       atm_info(usbatm, "ADSL state: stopped\n");
                        break;
 
                default:
-                       atm_printk(KERN_INFO, usbatm, "Unknown adsl status %02x\n", instance->adsl_status);
+                       atm_info(usbatm, "Unknown adsl status %02x\n", instance->adsl_status);
                        break;
                }
        }