usb: phy-qcom-emu: Fix typo for memory resource name

Update memory resource name from qcratch_base to
qscratch_base.

Change-Id: I9db7ca62d227fe2ad7fc99a5f59dfff4be7f06c3
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
This commit is contained in:
Hemant Kumar 2018-09-06 15:07:35 -07:00 • committed by Jack Pham
commit 7f2bc0f3eb

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved.
*/
#include <linux/module.h>
@ -102,7 +102,7 @@ static int qcusb_emu_phy_probe(struct platform_device *pdev)
return ret;
res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
"qcratch_base");
"qscratch_base");
if (res) {
qphy->qscratch_base = devm_ioremap_nocache(dev, res->start,
resource_size(res));