spi: bcm2835aux: change initialization order and switch to platform_get_irq
authorMartin Sperl <kernel@martin.sperl.org>
Thu, 15 Oct 2015 10:10:20 +0000 (10:10 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 16 Oct 2015 14:35:33 +0000 (15:35 +0100)
commit07bce09e11f5007635d7f9e6bc55679dd6ed18bd
treee5f073eb8e787acbd6d11903eaadf2bf7901434e
parent72aac02b3730fa0e2e1ccab57712a94400344f8a
spi: bcm2835aux: 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-bcm2835aux.c