linux/sound/soc/tegra
Julia Lawall b434500642 ASoC: tegra20-ac97: simplify use of devm_ioremap_resource
Remove unneeded error handling on the result of a call to
platform_get_resource when the value is passed to devm_ioremap_resource.

A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression pdev,res,n,e,e1;
expression ret != 0;
identifier l;
@@

- res = platform_get_resource(pdev, IORESOURCE_MEM, n);
  ... when != res
- if (res == NULL) { ... \(goto l;\|return ret;\) }
  ... when != res
+ res = platform_get_resource(pdev, IORESOURCE_MEM, n);
  e = devm_ioremap_resource(e1, res);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-15 11:09:10 +01:00
..
Kconfig ASoC: tegra: Enable COMPILE_TEST builds 2013-07-17 12:11:50 +01:00
Makefile ASoC: tegra: add tegra+RT5640 machine driver 2013-06-12 19:28:16 +01:00
tegra20_ac97.c ASoC: tegra20-ac97: simplify use of devm_ioremap_resource 2013-08-15 11:09:10 +01:00
tegra20_ac97.h ASoC: tegra: Use common DAI DMA data struct 2013-04-03 18:13:34 +01:00
tegra20_das.c ASoC: tegra: setup DAP3<->DAC3 connection by default 2012-12-24 16:01:08 +00:00
tegra20_das.h ASoC: convert Tegra20 DAS driver to regmap 2012-04-13 19:16:53 +01:00
tegra20_i2s.c Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-12 13:57:04 +01:00
tegra20_i2s.h ASoC: tegra: Use common DAI DMA data struct 2013-04-03 18:13:34 +01:00
tegra20_spdif.c Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-12 13:57:04 +01:00
tegra20_spdif.h ASoC: tegra: Use common DAI DMA data struct 2013-04-03 18:13:34 +01:00
tegra30_ahub.c ASoC: tegra: add runtime PM to resume functions 2013-06-04 20:47:11 +01:00
tegra30_ahub.h Merge remote-tracking branch 'asoc/topic/tegra' into asoc-next 2013-04-12 13:57:21 +01:00
tegra30_i2s.c ASoC: tegra: add runtime PM to resume functions 2013-06-04 20:47:11 +01:00
tegra30_i2s.h ASoC: tegra: Use common DAI DMA data struct 2013-04-03 18:13:34 +01:00
tegra_alc5632.c ASoC: tegra: Remove unneeded mach-type.h incldues 2013-07-17 10:19:20 +01:00
tegra_asoc_utils.c ASoC: tegra: always use clk_get() in utility code 2013-05-14 08:45:11 +04:00
tegra_asoc_utils.h ASoC: tegra: add Tegra114 support to tegra_asoc_utils.c 2013-03-25 15:56:36 +00:00
tegra_pcm.c ASoC: tegra: Use generic dmaengine PCM 2013-04-17 14:25:09 +01:00
tegra_pcm.h ASoC: tegra: Use common DAI DMA data struct 2013-04-03 18:13:34 +01:00
tegra_rt5640.c ASoC: tegra: support a Mic Jack in the Tegra+RT5640 machine driver 2013-08-15 11:08:30 +01:00
tegra_wm8753.c ASoC: tegra: Remove unneeded mach-type.h incldues 2013-07-17 10:19:20 +01:00
tegra_wm8903.c ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data 2013-03-04 11:22:23 +08:00
tegra_wm9712.c Merge remote-tracking branch 'asoc/topic/tegra' into asoc-next 2013-04-12 13:57:21 +01:00
trimslice.c ASoC: tegra: Remove unneeded mach-type.h incldues 2013-07-17 10:19:20 +01:00