w1: mxc_w1: Fix comment
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 19 Nov 2012 12:19:47 +0000 (10:19 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:40:14 +0000 (12:40 -0800)
We are dealing with mxc_w1 registers.

While at it use dev_err() instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/mxc_w1.c

index 3fb6c24..53f89fa 100644 (file)
@@ -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;
        }