diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-12-30 17:11:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-30 19:44:53 +0300 |
commit | 5396ecf7b1920595deec83b902502bd3d2da184e (patch) | |
tree | f3fdc925ccf57de1504676eafe66f4f1f5d2131e /sound/soc/mxs/mxs-saif.h | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | linux-5396ecf7b1920595deec83b902502bd3d2da184e.tar.xz |
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.h | 1 |
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; |