summaryrefslogtreecommitdiff
path: root/drivers/iommu/io-pgtable-arm-v7s.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2022-06-16 13:08:30 +0200
committerJoerg Roedel <jroedel@suse.de>2022-06-23 09:39:51 +0200
commit21fd9be431adb880e55cf7b6b918e0696c0be643 (patch)
treeb96ffb066dab8a77de6658749c3ba9cb89cf8f5a /drivers/iommu/io-pgtable-arm-v7s.c
parent7d748ffdee0dc244df3def1b2ec108bf095c0f9e (diff)
downloadlwn-21fd9be431adb880e55cf7b6b918e0696c0be643.tar.gz
lwn-21fd9be431adb880e55cf7b6b918e0696c0be643.zip
iommu/mediatek: Cleanup pericfg lookup flow
Since only the INFRA type IOMMU needs to modify register(s) in the pericfg iospace, it's safe to drop the pericfg_comp_str NULL check; also, directly assign the regmap handle to data->pericfg instead of to the infracfg variable to improve code readability. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Link: https://lore.kernel.org/r/20220616110830.26037-6-angelogioacchino.delregno@collabora.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/io-pgtable-arm-v7s.c')
0 files changed, 0 insertions, 0 deletions