kernel-hacking-2024-linux-s.../sound
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
..
aoa
arm
atmel
core sound updates for 3.11 2013-07-03 19:52:22 -07:00
drivers
firewire IEEE 1394 (FireWire) subsystem changes post v3.10: 2013-07-10 11:02:58 -07:00
i2c
isa
mips
oss
parisc
pci sound fixes for 3.11 2013-07-11 12:45:59 -07:00
pcmcia
ppc
sh
soc ASoC: tegra20-ac97: simplify use of devm_ioremap_resource 2013-08-15 11:09:10 +01:00
sparc
spi
synth
usb ALSA: usb-audio: fix regression for fixed stream quirk 2013-07-10 17:52:14 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
sound_firmware.c