diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2022-06-16 11:08:30 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2022-06-23 07:39:51 +0000 |
| commit | 21fd9be431adb880e55cf7b6b918e0696c0be643 (patch) | |
| tree | b96ffb066dab8a77de6658749c3ba9cb89cf8f5a /drivers/fpga/fpga-region.c | |
| parent | iommu/mediatek: Lookup phandle to retrieve syscon to infracfg (diff) | |
| download | kernel-21fd9be431adb880e55cf7b6b918e0696c0be643.tar.gz kernel-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 <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
