linux/sound/soc/mediatek
Pierre-Louis Bossart 14667403a5
ASoC: mediatek: mt8173: rename local irq variable
cppcheck warning:

sound/soc/mediatek/mt8173/mt8173-afe-pcm.c:929:28: style: Local
variable 'irq' shadows outer argument [shadowArgument]
  struct mtk_base_afe_irq *irq;
                           ^
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c:914:47: note: Shadowed
declaration
static irqreturn_t mt8173_afe_irq_handler(int irq, void *dev_id)
                                              ^
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c:929:28: note: Shadow
variable
  struct mtk_base_afe_irq *irq;
                           ^

Not a great idea to have two 'irq' variables in the same function...

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210311004904.121205-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-12 14:29:54 +00:00
..
common ASoC: mediatek: mtk-btcvsd: remove useless assignment 2021-03-12 14:29:51 +00:00
mt2701 ASoC: mediatek: mt2701: rename shadowed array 2021-03-12 14:29:53 +00:00
mt6797 ASoC: mediatek: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:55 +00:00
mt8173 ASoC: mediatek: mt8173: rename local irq variable 2021-03-12 14:29:54 +00:00
mt8183 ASoC: mediatek: mt8183: support machine driver with rt1015p 2021-03-11 13:25:07 +00:00
mt8192 Merge branch 'asoc-5.11' into asoc-5.12 2021-02-05 15:01:21 +00:00
Kconfig ASoC: mediatek: mt8183: support machine driver with rt1015p 2021-03-11 13:25:07 +00:00
Makefile ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00