bus: fsl-mc-msi: Use msi_desc::msi_index
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:15 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:40 +0000 (22:16 +0100)
commit78ee9fb4b8b126ed84a819a6e1732fd3039b525a
treeb9558eec7fa26bd020358fba2da566392a16d3ab
parentdba27c7fa36f468e7eb29b216879f8c33bf0955d
bus: fsl-mc-msi: Use msi_desc::msi_index

Use the common msi_index member and get rid of the pointless wrapper struct.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211210221814.477386185@linutronix.de
drivers/bus/fsl-mc/fsl-mc-allocator.c
drivers/bus/fsl-mc/fsl-mc-msi.c
include/linux/msi.h