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

Commit f5f18394 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "spmi: spmi-pmic-arb-debug: replace ioremap_resource with ioremap"

parents 485aca84 94ec28f2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2012-2018, 2020, The Linux Foundation. All rights reserved. */

#include <linux/clk.h>
#include <linux/delay.h>
@@ -266,7 +266,8 @@ static int spmi_pmic_arb_debug_probe(struct platform_device *pdev)
			return -EINVAL;
		}

		fuse_addr = devm_ioremap_resource(&pdev->dev, res);
		fuse_addr = devm_ioremap(&pdev->dev, res->start,
					 resource_size(res));
		if (IS_ERR(fuse_addr))
			return PTR_ERR(fuse_addr);