summaryrefslogtreecommitdiff
path: root/sound/soc/mxs/mxs-saif.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-12-30 12:11:36 -0200
committerMark Brown <broonie@kernel.org>2014-12-30 16:44:53 +0000
commit5396ecf7b1920595deec83b902502bd3d2da184e (patch)
treef3fdc925ccf57de1504676eafe66f4f1f5d2131e /sound/soc/mxs/mxs-saif.h
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
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>
Diffstat (limited to 'sound/soc/mxs/mxs-saif.h')
-rw-r--r--sound/soc/mxs/mxs-saif.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/mxs/mxs-saif.h b/sound/soc/mxs/mxs-saif.h
index fbaf7badfdfb..9a4c0b291b9e 100644
--- a/sound/soc/mxs/mxs-saif.h
+++ b/sound/soc/mxs/mxs-saif.h
@@ -116,7 +116,6 @@ struct mxs_saif {
unsigned int mclk;
unsigned int mclk_in_use;
void __iomem *base;
- int irq;
unsigned int id;
unsigned int master_id;
unsigned int cur_rate;