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

Commit 1de83e94 authored by Roel Kluin's avatar Roel Kluin Committed by Paul Mundt
Browse files

sh: heartbeat: ioremap is expected to succeed



ioremap is expected to succeed

Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4377e605
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ static int heartbeat_drv_probe(struct platform_device *pdev)
	}

	hd->base = ioremap_nocache(res->start, res->end - res->start + 1);
	if (!unlikely(hd->base)) {
	if (unlikely(!hd->base)) {
		dev_err(&pdev->dev, "ioremap failed\n");

		if (!pdev->dev.platform_data)