From patchwork Thu Sep 25 08:53:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 4973781 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6F1A19F1D4 for ; Thu, 25 Sep 2014 09:00:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1EDEE2027D for ; Thu, 25 Sep 2014 09:00:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7FB092025A for ; Thu, 25 Sep 2014 09:00:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752193AbaIYJAs (ORCPT ); Thu, 25 Sep 2014 05:00:48 -0400 Received: from webbox1416.server-home.net ([77.236.96.61]:36346 "EHLO webbox1416.server-home.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751746AbaIYJAq (ORCPT ); Thu, 25 Sep 2014 05:00:46 -0400 X-Greylist: delayed 476 seconds by postgrey-1.27 at vger.kernel.org; Thu, 25 Sep 2014 05:00:46 EDT Received: from imapserver.systec-electronic.com (unknown [212.185.67.148]) by webbox1416.server-home.net (Postfix) with ESMTPA id F314427A75C; Thu, 25 Sep 2014 10:13:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by imapserver.systec-electronic.com (Postfix) with ESMTP id 87026DA0AC5; Thu, 25 Sep 2014 10:52:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at imapserver.systec-electronic.com Received: from imapserver.systec-electronic.com ([127.0.0.1]) by localhost (imapserver.systec-electronic.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t4at_kSX4ai9; Thu, 25 Sep 2014 10:52:44 +0200 (CEST) Received: from ws-stein.systec-electronic.de (unknown [192.168.10.109]) by imapserver.systec-electronic.com (Postfix) with ESMTP id CCB03DA0C85; Thu, 25 Sep 2014 10:52:44 +0200 (CEST) From: Alexander Stein To: Mark Brown Cc: Alexander Stein , linux-spi@vger.kernel.org Subject: [PATCH 1/1] spi: fsl-dspi: Fix probe info message Date: Thu, 25 Sep 2014 10:53:32 +0200 Message-Id: <1411635212-20908-1-git-send-email-alexander.stein@systec-electronic.com> X-Mailer: git-send-email 1.8.5.5 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No need to add KERN_INFO to pr_info. Output is: 6Freescale DSPI master initialized While at it, use dev_info instead for a device specific message. Signed-off-by: Alexander Stein --- drivers/spi/spi-fsl-dspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index 5021ddf..e55144c 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c @@ -535,7 +535,7 @@ static int dspi_probe(struct platform_device *pdev) goto out_clk_put; } - pr_info(KERN_INFO "Freescale DSPI master initialized\n"); + dev_info(&pdev->dev, "master initialized\n"); return ret; out_clk_put: