bus: fsl-mc-msi: Allocate MSI device data on first use
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:00 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:38 +0000 (22:16 +0100)
commit86ca622628d3941835138f2f89e69ed63f7f50fe
tree3fdbdc86cc76f04eba741a91b6cbadd3e3c7a977
parent077aeadb6cacdee79acff3deb1b31581584fdb9c
bus: fsl-mc-msi: Allocate MSI device data on first use

Allocate the MSI device data on first invocation of the allocation function.

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/20211210221813.867985931@linutronix.de
drivers/bus/fsl-mc/fsl-mc-msi.c