linux/sound/soc
Linus Torvalds e51066824a Merge branch 'devm_no_resource_check' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull devm usage cleanup from Wolfram Sang:
 "Lately, I have been experimenting how to improve the devm interface to
  make writing device drivers easier and less error prone while also
  getting rid of its subtle issues.  I think it has more potential but
  still needs work and definately conistency, especiall in its usage.

  The first thing I come up with is a low hanging fruit regarding
  devm_ioremap_resouce().  This function already checks if the passed
  resource is valid and gives an error message if not.  So, we can
  remove similar checks from the drivers and get rid of a bit of code
  and a number of inconsistent error strings.

  This series only removes the unneeded check iff devm_ioremap_resource
  follows platform_get_resource directly.  The previous version tried to
  shuffle code if needed, too, what lead to an embarrasing bug.  It
  turned out to me that shuffling code for all cases found will make the
  automated script too complex, so I am unsure if an automated cleanup
  is the proper tool for this case.  Removing the easy stuff seems
  worthwhile to me, though.

  Despite various architectures and platform dependencies, I managed to
  compile test 45 out of 57 modified files locally using heuristics and
  defconfigs."

Pulled because: 296 deletions, 0 additions.

* 'devm_no_resource_check' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (33 commits)
  sound/soc/kirkwood: don't check resource with devm_ioremap_resource
  sound/soc/fsl: don't check resource with devm_ioremap_resource
  arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource
  arch/arm/plat-samsung: don't check resource with devm_ioremap_resource
  arch/arm/mach-tegra: don't check resource with devm_ioremap_resource
  drivers/watchdog: don't check resource with devm_ioremap_resource
  drivers/w1/masters: don't check resource with devm_ioremap_resource
  drivers/video/omap2/dss: don't check resource with devm_ioremap_resource
  drivers/video/omap2: don't check resource with devm_ioremap_resource
  drivers/usb/phy: don't check resource with devm_ioremap_resource
  drivers/usb/host: don't check resource with devm_ioremap_resource
  drivers/usb/gadget: don't check resource with devm_ioremap_resource
  drivers/usb/chipidea: don't check resource with devm_ioremap_resource
  drivers/thermal: don't check resource with devm_ioremap_resource
  drivers/staging/nvec: don't check resource with devm_ioremap_resource
  drivers/staging/dwc2: don't check resource with devm_ioremap_resource
  drivers/spi: don't check resource with devm_ioremap_resource
  drivers/rtc: don't check resource with devm_ioremap_resource
  drivers/pwm: don't check resource with devm_ioremap_resource
  drivers/pinctrl: don't check resource with devm_ioremap_resource
  ...
2013-05-18 10:54:54 -07:00
..
atmel Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
au1x ASoC: switch over to use snd_soc_register_component() on au1x ac97c 2013-03-26 21:55:24 +00:00
blackfin ASoC: switch over to use snd_soc_register_component() on bf5xx tdm 2013-03-26 21:55:25 +00:00
cirrus Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
codecs Merge remote-tracking branch 'asoc/fix/wm0010' into asoc-linus 2013-05-14 16:53:21 +04:00
davinci ASoC: Updates for v3.10 2013-05-03 11:39:36 +02:00
dwc ASoC: switch over to use snd_soc_register_component() on dw i2s 2013-03-26 21:55:22 +00:00
fsl sound/soc/fsl: don't check resource with devm_ioremap_resource 2013-05-18 11:59:44 +02:00
generic
jz4740 ASoC: switch over to use snd_soc_register_component() on jz4740 i2s 2013-03-26 21:57:12 +00:00
kirkwood sound/soc/kirkwood: don't check resource with devm_ioremap_resource 2013-05-18 11:59:45 +02:00
mid-x86 Merge remote-tracking branch 'asoc/topic/compress' into asoc-next 2013-04-12 13:56:57 +01:00
mxs sound updates for v3.10-rc1 2013-05-03 09:10:23 -07:00
nuc900 ASoC: switch over to use snd_soc_register_component() on nuc900 ac97 2013-03-26 21:57:22 +00:00
omap Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
pxa Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
s6000 ASoC: switch over to use snd_soc_register_component() on s6000 i2s 2013-03-26 21:57:30 +00:00
samsung Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next 2013-04-12 13:57:13 +01:00
sh Merge remote-tracking branch 'asoc/topic/fsi' into asoc-next 2013-04-12 13:57:05 +01:00
spear Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
tegra Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
txx9 ASoC: switch over to use snd_soc_register_component() on txx9aclc ac97 2013-03-26 21:57:51 +00:00
ux500 sound updates for v3.10-rc1 2013-05-03 09:10:23 -07:00
Kconfig ASoC: Add a generic dmaengine_pcm driver 2013-04-17 14:21:25 +01:00
Makefile ASoC: Add a generic dmaengine_pcm driver 2013-04-17 14:21:25 +01:00
soc-cache.c
soc-compress.c ASoC: soc-compress: Deduce stream direction 2013-04-21 09:53:43 +02:00
soc-core.c Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
soc-dapm.c ASoC: Updates for v3.10 2013-05-03 11:39:36 +02:00
soc-dmaengine-pcm.c ASoC: dmaengine_pcm: Add support for compat platforms 2013-04-17 14:21:36 +01:00
soc-generic-dmaengine-pcm.c ASoC: generic-dmaengine-pcm: call dma_request_slave_channel() 2013-04-23 11:34:29 +01:00
soc-io.c ASoC: core: Use PTR_RET function 2013-03-26 14:12:01 +00:00
soc-jack.c
soc-pcm.c Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2013-02-11 11:06:30 +00:00
soc-utils.c ASoC: define playback and capture streams in dummy codec 2013-04-17 14:29:36 +01:00