summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-11-19 13:19:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 21:40:14 +0100
commit128485daadc53ff0570132c0c3ed70a6f0610bf6 (patch)
treef000629cb9d4119eeb0dc2692771d48b1bf2aa5b /drivers/w1
parentw1: mxc_w1: Convert to platform driver (diff)
downloadlinux-128485daadc53ff0570132c0c3ed70a6f0610bf6.tar.xz
linux-128485daadc53ff0570132c0c3ed70a6f0610bf6.zip
w1: mxc_w1: Fix comment
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>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/masters/mxc_w1.c2
1 files changed, 1 insertions, 1 deletions
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;
}