summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel
diff options
context:
space:
mode:
authorLiang Yang <liang.yang@amlogic.com>2022-09-07 16:04:03 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-09-21 10:38:47 +0200
commit5d53c615ab6bd3a5c67b007995bcc772c46af291 (patch)
treeb52864ef0274df8e5428c8c1a18d63b3bf1905a7 /arch/microblaze/kernel
parent1e4d3ba6688818ae932a8108ccb4319965e8041c (diff)
downloadlinux-5d53c615ab6bd3a5c67b007995bcc772c46af291.tar.bz2
mtd: rawnand: meson: refine resource getting in probe
simply use devm_platform_ioremap_resource_byname() instead of two steps: res = platform_get_resource(pdev, IORESOURCE_MEM, 0) and reg_base = devm_ioremap_resource(dev, res) Reviewed-by: Kevin Hilman <khilman@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Liang Yang <liang.yang@amlogic.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220907080405.28240-4-liang.yang@amlogic.com
Diffstat (limited to 'arch/microblaze/kernel')
0 files changed, 0 insertions, 0 deletions