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

Commit 6df22b9d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: watchdog-v2: use request_mem_region instead of request_region"

parents 28a392a1 3c86680e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -480,8 +480,9 @@ static int msm_wdog_dt_to_pdata(struct platform_device *pdev,
		return -ENODEV;
	pdata->size = resource_size(wdog_resource);
	pdata->phys_base = wdog_resource->start;
	if (unlikely(!(devm_request_region(&pdev->dev, pdata->phys_base,
	if (unlikely(!(devm_request_mem_region(&pdev->dev, pdata->phys_base,
					       pdata->size, "msm-watchdog")))) {

		dev_err(&pdev->dev, "%s cannot reserve watchdog region\n",
								__func__);
		return -ENXIO;