From: Fabio Estevam Date: Mon, 19 Nov 2012 12:19:47 +0000 (-0200) Subject: w1: mxc_w1: Fix comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=128485daadc53ff0570132c0c3ed70a6f0610bf6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git w1: mxc_w1: Fix comment We are dealing with mxc_w1 registers. While at it use dev_err() instead. Signed-off-by: Fabio Estevam Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c index 3fb6c2480d2f..53f89fa3bde6 100644 --- a/drivers/w1/masters/mxc_w1.c +++ b/drivers/w1/masters/mxc_w1.c @@ -134,7 +134,7 @@ static int __devinit mxc_w1_probe(struct platform_device *pdev) mdev->regs = ioremap(res->start, resource_size(res)); if (!mdev->regs) { - printk(KERN_ERR "Cannot map frame buffer registers\n"); + dev_err(&pdev->dev, "Cannot map mxc_w1 registers\n"); goto failed_ioremap; }