From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 6.mo2.mail-out.ovh.net ([87.98.165.38] helo=mo2.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TjBrC-0007rZ-MT for barebox@lists.infradead.org; Thu, 13 Dec 2012 16:42:03 +0000 Received: from mail426.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 806ADDC20D6 for ; Thu, 13 Dec 2012 17:50:26 +0100 (CET) From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 13 Dec 2012 17:40:10 +0100 Message-Id: <1355416810-26555-9-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <1355416810-26555-1-git-send-email-plagnioj@jcrosoft.com> References: <20121213163758.GB26483@game.jcrosoft.org> <1355416810-26555-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 9/9] dev_printf: switch to pr_info To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/base/driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 5b3542b..4688a19 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -380,13 +380,13 @@ int dev_printf(const struct device_d *dev, const char *format, ...) int ret = 0; if (dev->driver && dev->driver->name) - ret += printf("%s ", dev->driver->name); + ret += pr_info("%s ", dev->driver->name); - ret += printf("%s: ", dev_name(dev)); + ret += pr_info("%s: ", dev_name(dev)); va_start(args, format); - ret += vprintf(format, args); + ret += vprintk(format, args); va_end(args); -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox