spi: spi-imx: Do not store the irq number in the private structure
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 29 Dec 2014 21:38:51 +0000 (19:38 -0200)
committerMark Brown <broonie@kernel.org>
Tue, 30 Dec 2014 11:25:06 +0000 (11:25 +0000)
commit4b5d6aadce5e054d33719a7490076294c83d2f88
tree9d2ee04da084c745f4eb487b02274bea30fdf628
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
spi: spi-imx: Do not store the irq number in the private structure

The irq number is only used inside the probe function, so there is really no
need to store it in the private structure.

Use a local 'irq' variable to hold the the irq number instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c