ASoC: mxs-saif: Do not store the irq number in the private structure
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 30 Dec 2014 14:11:36 +0000 (12:11 -0200)
committerMark Brown <broonie@kernel.org>
Tue, 30 Dec 2014 16:44:53 +0000 (16:44 +0000)
commit5396ecf7b1920595deec83b902502bd3d2da184e
treef3fdc925ccf57de1504676eafe66f4f1f5d2131e
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
ASoC: mxs-saif: 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>
sound/soc/mxs/mxs-saif.c
sound/soc/mxs/mxs-saif.h