Skip to content

Commit

Permalink
w1: mxc_w1: Fix comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent fd21bfc commit 128485d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/w1/masters/mxc_w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 128485d

Please sign in to comment.