Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 128485da authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman
Browse files

w1: mxc_w1: Fix comment



We are dealing with mxc_w1 registers.

While at it use dev_err() instead.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fd21bfcc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}