[PATCH v2 06/12] of/iommu: Make of_map_rid() PCI agnostic
Rob Herring
robh at kernel.org
Mon Jul 13 19:57:51 EDT 2020
On Fri, 19 Jun 2020 09:20:07 +0100, Lorenzo Pieralisi wrote:
> There is nothing PCI specific (other than the RID - requester ID)
> in the of_map_rid() implementation, so the same function can be
> reused for input/output IDs mapping for other busses just as well.
>
> Rename the RID instances/names to a generic "id" tag.
>
> No functionality change intended.
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Joerg Roedel <joro at 8bytes.org>
> Cc: Robin Murphy <robin.murphy at arm.com>
> Cc: Marc Zyngier <maz at kernel.org>
> ---
> drivers/iommu/of_iommu.c | 4 ++--
> drivers/of/base.c | 42 ++++++++++++++++++++--------------------
> drivers/of/irq.c | 2 +-
> include/linux/of.h | 4 ++--
> 4 files changed, 26 insertions(+), 26 deletions(-)
>
Reviewed-by: Rob Herring <robh at kernel.org>
More information about the linux-arm-kernel
mailing list