Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1751082yba; Sat, 27 Apr 2019 06:23:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPpXddKiu7Xvx3nuz2HSzJfcYajD+cPWhA+rIfi1sX0t/W2WqpDUVejZnaxjOi6zr+P1kv X-Received: by 2002:a65:5003:: with SMTP id f3mr49577576pgo.29.1556371389515; Sat, 27 Apr 2019 06:23:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556371389; cv=none; d=google.com; s=arc-20160816; b=SEn6A2rpHUKHObCMLYTXCbVreL3edrpkDyu8a3veL/hPs2T6E4VEsFQzLJwW2pz8Pf V9t2jpZcFzh7pQQK73tImOR4A6562waRgllrrwQMZy9ylEjTZJPvnGRhvx6OnRLuyTDq MZAXtGgGhP7rrCKh9/DWhzRLTq0yUTMc2hx1XRKl+JIW61U0lPhmwTshhUkId38XuOPa hZ3zbH6/jzcIRo83Hj6FGRWTim+7KbyqoiyGrpGxmfeMgSbjQMFE7ylEoc8yTV14jKsu Q6DqgvyTL7Y2LRSdN2W0l+G9No5z9KuEXT2HFdwuyTk+LHEhwYxNJO1Uo6yeupGFTCIl WuVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=fnC0Pur6j8BgH4qbIgVHYKvJJ0TPeqpOfLCV7YoiVZc=; b=A18PJDpbcRKWCa5frocoJDAhDL+ETcw5EG0WLchMWHsJNuRBgy19nuZ3YoxZp1wXKN giyHxMdsF1AkqPDfa07eir678nqiL7M8ca6ii+V6G6yaDT5OWks9B/vV3lOqjQC+OO1J hmtX+OJTfhhafMyty7PAz15C/k1WxXtZUZZu35Cyy8UvQJR8qpu7suNApMlxlS3JgKGO I+48ARBY8LyYQXnvnvY67WCsfN2x/WI+A0ry0x/1+U/p2e4mAEgmx0qRL8WsOSSP6/qZ zun2eRPdN5pWYaJvZdu4Na7yBuvnRQWboEeTWcGp3TYIcOCOVC9arzDEwhkkvUCbyE8b eviw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r140si27306343pgr.585.2019.04.27.06.22.54; Sat, 27 Apr 2019 06:23:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727271AbfD0Mx0 (ORCPT + 99 others); Sat, 27 Apr 2019 08:53:26 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52931 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727177AbfD0MxX (ORCPT ); Sat, 27 Apr 2019 08:53:23 -0400 Received: from orion.localdomain ([77.2.90.210]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N5G1V-1gbeYR2mc1-0118EA; Sat, 27 Apr 2019 14:52:58 +0200 From: "Enrico Weigelt, metux IT consult" To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, andrew@aj.id.au, andriy.shevchenko@linux.intel.com, macro@linux-mips.org, vz@mleia.com, slemieux.tyco@gmail.com, khilman@baylibre.com, liviu.dudau@arm.com, sudeep.holla@arm.com, lorenzo.pieralisi@arm.com, davem@davemloft.net, jacmet@sunsite.dk, linux@prisktech.co.nz, matthias.bgg@gmail.com, linux-mips@vger.kernel.org, linux-serial@vger.kernel.org, linux-ia64@vger.kernel.org, linux-amlogic@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org Subject: [PATCH 29/41] drivers: tty: serial: sunzilog: cleanup logging Date: Sat, 27 Apr 2019 14:52:10 +0200 Message-Id: <1556369542-13247-30-git-send-email-info@metux.net> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1556369542-13247-1-git-send-email-info@metux.net> References: <1556369542-13247-1-git-send-email-info@metux.net> X-Provags-ID: V03:K1:uxxvCa66CYSGi3Em4nuMPvtSzL45VE6ce5qM7EP5uZ2jwnJH/Rf VzWdbFvPirBwCJNu9f+Jwyc9lVwLpUGhejFkC7ldZJdxwR7DA2BRn+Vl0BQckBceQIF7qXC WyxgtztRffigF7v1SzndzvbVeMKNS2DbGfpYfH4EV+kNq293CGWXupsg6VWK6tqIR7aTFMf +tRlOKQpyia0QglzkJKNA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:y11A1qYqUqI=:8rPS9vSRvAXoCM5mb5BhuI WjE5yIVWUmfvDmA/AQ4ypZ+srkteIQs198t/oJOqUwZx5Rp3SPAGlO++llU7eG0RNjUsALBZq ZUvb6zw3f9sYxfEGhrGcIODhWtEO5jSQT4jIVhGurbVttXmC6195bA40SA690OEhhnFI/qCEi WSwQCTE70G9mH5ZlezP2NFueEhbG7kWFhxlgd96LRp1M9Nb1RFDllOpLiSlWwuEgrwYc/txEZ Jz5ZQj7Ur9cWxizBCpYX6lQ8MA/6iwg/+OwOBQFBaO9/oRTiS2RJak0h4ldhbLbwq2zihGidG 1rGx2U2IrRbLZ4JMDQtJAaneQYfRx5ecqZDD3UkLCP4Ei05fNui5iI8OpZLsbkAWQMiKsryvO 2kCFC0VRHePJTFZPqt9Ik9I0+gIoWPxwpdB8LfjEbEvj6k6/XPYQgonaBdL12TN97JkTvX7X2 zPhIz62y5IwAPzLzViaQBeYU5gJWmkOIO+mcjozxcMghEPjcS0OHpgnDA8TYNsChOcClWQN5U ZTY0rQijbKo7+Fr6crZw1sEjpHfTqC53E74pOXaRvnpUsI/uBenbneEDtTlLAdpaHpm6wTBvF WLYWF5qQwW7fPx/YeqvLiajUl4U2/pvABrvxsQRwW6Zi/tOfEaKerfDWvrHkfNX97OpQ9rjqO aqTj8y5/k3NSG39yLJhNMUwbIOnBHg3Ua0eJn7jjxkxpYM82/aUzhOuEWTDJOxHkTsenB2gj8 mCkokTH7YsmuOy7tzDvemUKChz641N4UkAKV+w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch warning: WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... #1238: FILE: drivers/tty/serial/sunzilog.c:1238: + printk(KERN_INFO "Console: ttyS%d (SunZilog zs%d)\n", Signed-off-by: Enrico Weigelt --- drivers/tty/serial/sunzilog.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index 85edb0d..dba723c 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -1235,7 +1235,7 @@ static int __init sunzilog_console_setup(struct console *con, char *options) if (up->port.type != PORT_SUNZILOG) return -1; - printk(KERN_INFO "Console: ttyS%d (SunZilog zs%d)\n", + pr_info("Console: ttyS%d (SunZilog zs%d)\n", (sunzilog_reg.minor - 64) + con->index, con->index); /* Get firmware console settings. */ @@ -1615,9 +1615,8 @@ static int __init sunzilog_init(void) while (up) { struct zilog_channel __iomem *channel; - /* printk(KERN_INFO - * "Enable IRQ for ZILOG Hardware %p\n", - * up); + /* pr_info("Enable IRQ for ZILOG Hardware %p\n", + * up); */ channel = ZILOG_CHANNEL_FROM_PORT(&up->port); up->flags |= SUNZILOG_FLAG_ISR_HANDLER; @@ -1655,9 +1654,8 @@ static void __exit sunzilog_exit(void) while (up) { struct zilog_channel __iomem *channel; - /* printk(KERN_INFO - * "Disable IRQ for ZILOG Hardware %p\n", - * up); + /* pr_info("Disable IRQ for ZILOG Hardware %p\n", + * up); */ channel = ZILOG_CHANNEL_FROM_PORT(&up->port); up->flags &= ~SUNZILOG_FLAG_ISR_HANDLER; -- 1.9.1