Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1727854yba; Sat, 27 Apr 2019 05:58:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvegy09lJC4KaE6+51/PpkzWNUd/1DxHeWFLF/56zp2SYYFE2gmr5ZojlTKjJyWvoa6g2F X-Received: by 2002:a65:6686:: with SMTP id b6mr9531202pgw.419.1556369919690; Sat, 27 Apr 2019 05:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556369919; cv=none; d=google.com; s=arc-20160816; b=EvOeBrRFq3aWxeLC+6KSZneydgMYoIsGpne8RlglLU3R/9XM41ZlKP+Iu28gAZhAIv oLlppHnDOs6NsXrgaN4ETWQ/6O7PGvpDXWUK8hwxEJdXrWvKD9kLOgzQGfQefM3nfWvZ izagTY4kjuDlDLeBOyFfGzCNK/GRMoMwv/7ZVAusywEdcEAMlWT4kVQUxp1I2Ux2TzcB 0wrRB0GuBnX1n8LDV/KoA4SZNApA3+R5A3khUqMrkpP3W8VS5jV82OqHi8f3YKdwgsqW Q17WV8gZHcxY+4CFw3AMYWTk5vRywwuz1BcTiDl6c3/WWbkmWV0rksr4V9bmHOGVi+Ts S22A== 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=lGPSTkkzEJW+OuNQ6Xd5IGoHIxYr4+S2xGTtoKJ4SEw=; b=DWIyarNuRDw+WHKAN9aIsSccEPsDrUh27IyJUxL+Qfj9FpqVDQjsQZrgUNLhXDBCT8 7ahxkuw6NksfiZJ5HCwMH6FWHWinY/DEBFP5KQzBEAMOT91s1BWvILmhauDrlh6/quOW Pwb0Rxhr3+SVHFa42dEQ5dgkCal+myVeKdkMiXFt73xsv0rxxswtBuYBohUL34feMEf9 2GZ6Qpf7JA++5mdgLwDxQLmveD41pn04XnhXK17sgqFEZwxFT1p93w2oH38AC6eJSLVI umX6A5uhn4MldPKZsu2ouCwxi87pLcKRhrQS/Hx++SYiyiMawlHR5irZJkaHRu1IAjH7 O8FQ== 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 w3si28850530plp.260.2019.04.27.05.58.24; Sat, 27 Apr 2019 05:58:39 -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 S1726673AbfD0MxI (ORCPT + 99 others); Sat, 27 Apr 2019 08:53:08 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:60007 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726472AbfD0MxH (ORCPT ); Sat, 27 Apr 2019 08:53:07 -0400 Received: from orion.localdomain ([77.2.90.210]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MWRZr-1hIx843db1-00XpY8; Sat, 27 Apr 2019 14:52:44 +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 12/41] drivers: tty: serial: uartlite: use dev_dbg() instead of pr_debug() Date: Sat, 27 Apr 2019 14:51:53 +0200 Message-Id: <1556369542-13247-13-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:iKlivJb6BzLykaezfbMDcQZdn+ix2ooVfsC6tW0pEhl98LAPDeE JRRVgVcfczmetBZDaIj6bTxrIsuLJZWRq491LJqAx+h9NbgwnoIDbHxcrTYcX/2PcSRokum actVckV0OuFGgmAK7gUuP0HXW1/BSfc94DTxmg7pJbcD5SZVKeVCxYgAJklKBryYGvN1CJo ibF50Jd1+Py/n87SQbwsQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:u5P2g8JRH2I=:qGaH8ryqR7sUqOGrLtEnq0 2WfUNdHCnLg10s1ecEg65pn/njtDsMqOeP8gNEpxCMTzcWsLT9VA4DU3CEBVa3HCzjiKJcfHG eTHURytwvHGp7s9jZVE5iai0hKZDLmT9tnCMG0O5bDybrILrbz2OaCok/sor106qS90eCocZA WHMkOGw0j1qJeCv0leK1Z4fuVANM96a4sKdqYlnLL2v1g0Yy7Qv2BA/TyHUBS+K7r2RGhcM93 TQCZfinRHziPPxnqY8q6GJipcuPVsuiLqzJC0H8npIwN2FnPLLAPYV/vgXo00WkXMfxjp7mWe s9cDM9K+72I9v9RY2NCSZ4HlPW78uNjLRoKXH9UI6yEUBsHch/+0OxFFZTB2NnEgI5hM4CxaA aW2LQCsOERK9kjsOnJFUi/mvk0axc5fq8TDylOAwQOSe0Nkpla45hTAsiHS221ZrBXCbrV5zA vp2fnOF01p7Eyj5ee/bkdEt+KrcA0YHPLrsTPFX/ReZeKT0iqAavOA1IICkPrbO/J9OgpkqPM +e5kU1Y2uDllo5BJ52L6yldoO9jgsv77olPmdDGKDcAfFx4RUBuMjYer7MOaRBSCwUzPaMwsD tgJ7G6LdN06zK0oIyp9V0oKzUCmMe1VTLSZaAIbSfUawtMPghR9Z49rdDsyfAYZ2DohkJIPTF xQn1Ht0ha1HyECC5uOoj7J38mbBQIygbj3uOhqVZj78SrVH8ls26OFebX6TDxvvF5GTZrl2n3 rnTYYYquT1fzWtIJQj/tIvkv4pDPeDZLTev6ZQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Using dev_dbg() instead of pr_debg() for more consistent output. (prints device name, etc). Signed-off-by: Enrico Weigelt --- drivers/tty/serial/uartlite.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index b8b912b..44d65bd 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -352,7 +352,8 @@ static int ulite_request_port(struct uart_port *port) struct uartlite_data *pdata = port->private_data; int ret; - pr_debug("ulite console: port=%p; port->mapbase=%llx\n", + dev_dbg(port->dev, + "ulite console: port=%p; port->mapbase=%llx\n", port, (unsigned long long) port->mapbase); if (!request_mem_region(port->mapbase, ULITE_REGION, "uartlite")) { @@ -519,7 +520,8 @@ static int ulite_console_setup(struct console *co, char *options) /* Has the device been initialized yet? */ if (!port->mapbase) { - pr_debug("console on ttyUL%i not present\n", co->index); + dev_dbg(port->dev, "console on ttyUL%i not present\n", + co->index); return -ENODEV; } -- 1.9.1