aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <[email protected]>2022-06-16 11:08:30 +0000
committerJoerg Roedel <[email protected]>2022-06-23 07:39:51 +0000
commit21fd9be431adb880e55cf7b6b918e0696c0be643 (patch)
treeb96ffb066dab8a77de6658749c3ba9cb89cf8f5a /drivers/fpga/microchip-spi.c
parentiommu/mediatek: Lookup phandle to retrieve syscon to infracfg (diff)
downloadkernel-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/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions