mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
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>
This commit is contained in:
parent
fd21bfcc2d
commit
128485daad
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user