From: "Enrico Weigelt, metux IT consult" <info@metux.net>
To: linux-kernel@vger.kernel.org
Cc: duncan.sands@free.fr, accessrunner-general@lists.sourceforge.net,
linux-usb@vger.kernel.org
Subject: [PATCH 2/3] drivers: usb: atm: use atm_info() instead of atm_printk(KERN_INFO ...
Date: Tue, 8 Dec 2020 10:32:05 +0100 [thread overview]
Message-ID: <20201208093206.24780-2-info@metux.net> (raw)
In-Reply-To: <20201208093206.24780-1-info@metux.net>
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>
---
drivers/usb/atm/cxacru.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c
index 0114cc54e622..4d3947476f0e 100644
--- a/drivers/usb/atm/cxacru.c
+++ b/drivers/usb/atm/cxacru.c
@@ -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;
}
}
--
2.11.0
next prev parent reply other threads:[~2020-12-08 9:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 9:32 [PATCH 1/3] drivers: usb: atm: reduce noise Enrico Weigelt, metux IT consult
2020-12-08 9:32 ` Enrico Weigelt, metux IT consult [this message]
2020-12-08 9:32 ` [PATCH 3/3] drivers: usb: atm: use pr_err() and pr_warn() instead of raw printk() Enrico Weigelt, metux IT consult
2020-12-08 9:41 ` Duncan Sands
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201208093206.24780-2-info@metux.net \
--to=info@metux.net \
--cc=accessrunner-general@lists.sourceforge.net \
--cc=duncan.sands@free.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).