summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-16 13:29:49 -0700
committerVinod Koul <vkoul@kernel.org>2026-07-17 17:50:19 +0530
commit30cb1b9fd4295f54d22b3a15ecf8525c9fe03ebe (patch)
tree074cfbaffa37d9f5c6125e9575141bf24b20ca7a /include
parent68b7fbc235290937e4e2daa097896b6b94618f15 (diff)
dma: fsl_raid: use devm_platform_ioremap_resource
Replace the open-coded platform_get_resource() plus devm_ioremap() sequence with devm_platform_ioremap_resource(), which fetches the resource, requests the region and maps it in one call. Switch the error check to IS_ERR()/PTR_ERR() and drop the now-unused struct resource pointer. The raideng node has a single reg region (0x320000, 0x10000); the job-queue/ring children are separate OF devices probed independently, so the region reservation added by devm_ioremap_resource() is exclusive and does not introduce overlap failures. Assisted-by: opencode:hy3-free Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260716202949.677290-5-rosenp@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions