summaryrefslogtreecommitdiffstats
path: root/drivers/memory/bt1-l2-ctl.c
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2021-10-25 22:56:30 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-11-16 11:29:32 +0100
commit5da9b59b23d8112709034a07338e03dcc65fa11f (patch)
tree030a9805021ca779d6062632fb422017d1987d16 /drivers/memory/bt1-l2-ctl.c
parentmemory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails (diff)
downloadlinux-5da9b59b23d8112709034a07338e03dcc65fa11f.tar.xz
linux-5da9b59b23d8112709034a07338e03dcc65fa11f.zip
memory: renesas-rpc-if: Drop usage of RPCIF_DIRMAP_SIZE macro
RPCIF_DIRMAP_SIZE may differ on various SoC's. Instead of using RPCIF_DIRMAP_SIZE macro use resource size to get dirmap size which is already part of struct rpcif. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20211025205631.21151-7-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'drivers/memory/bt1-l2-ctl.c')
0 files changed, 0 insertions, 0 deletions