spi: bcm2835: change initialization order and switch to platform_get_irq
authorMartin Sperl <kernel@martin.sperl.org>
Thu, 15 Oct 2015 10:09:11 +0000 (10:09 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 16 Oct 2015 14:34:26 +0000 (15:34 +0100)
commitddf0e1c20d8b72c409e4c954002069445babc762
tree27fd4239ee6f8be8a3fa0445c70edcfc5d7d3739
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
spi: bcm2835: change initialization order and switch to platform_get_irq

Change the initialization order of the HW so that the interrupt
is only requested after the HW is initialized

Also the use of irq_of_parse_and_map is replaced by platform_get_irq.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835.c