projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux...
[linux-2.6-microblaze.git]
/
sound
/
soc
/
fsl
/
fsl_micfil.c
diff --git
a/sound/soc/fsl/fsl_micfil.c
b/sound/soc/fsl/fsl_micfil.c
index
3cf789e
..
8c0c75c
100644
(file)
--- a/
sound/soc/fsl/fsl_micfil.c
+++ b/
sound/soc/fsl/fsl_micfil.c
@@
-669,8
+669,7
@@
static int fsl_micfil_probe(struct platform_device *pdev)
}
/* init regmap */
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- regs = devm_ioremap_resource(&pdev->dev, res);
+ regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
if (IS_ERR(regs))
return PTR_ERR(regs);