commit | 4b5d6aadce5e054d33719a7490076294c83d2f88 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Mon Dec 29 19:38:51 2014 -0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Dec 30 11:25:06 2014 +0000 |
tree | 9d2ee04da084c745f4eb487b02274bea30fdf628 | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
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>