All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] spi: fsl-dspi: Fix probe info message
@ 2014-09-25  8:53 Alexander Stein
       [not found] ` <1411635212-20908-1-git-send-email-alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Stein @ 2014-09-25  8:53 UTC (permalink / raw)
  To: Mark Brown; +Cc: Alexander Stein, linux-spi-u79uwXL29TY76Z2rM5mHXA

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 <alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
---
 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:
-- 
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-25 11:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-25  8:53 [PATCH 1/1] spi: fsl-dspi: Fix probe info message Alexander Stein
     [not found] ` <1411635212-20908-1-git-send-email-alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
2014-09-25 10:14   ` Mark Brown
     [not found]     ` <20140925101430.GM16977-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-09-25 10:30       ` Alexander Stein
2014-09-25 11:11         ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.