OSDN Git Service

powerpc/fsl_msi: reorganize structs to improve clarity and flexibility
authorTudor Laurentiu <b10716@freescale.com>
Tue, 19 Aug 2014 11:25:01 +0000 (14:25 +0300)
committerScott Wood <scottwood@freescale.com>
Thu, 4 Sep 2014 23:41:29 +0000 (18:41 -0500)
commit834952314c8bae7331b0797a071958dda9bec60d
tree133a937dafd225ad293a2c2b3289c458324ecf6f
parent26a047ab101a6ab765b805c7417e82e1ed413ff2
powerpc/fsl_msi: reorganize structs to improve clarity and flexibility

Store cascade_data in an array inside the driver
data for later use.
Get rid of the msi_virq array since now we can
encapsulate the virqs in the cascade_data
directly and access them through the array
mentioned earlier.

Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/fsl_msi.c
arch/powerpc/sysdev/fsl_msi.h