linux/sound/soc
Julia Lawall 5b740ea975 sound: use dev_set_drvdata
Eliminate direct accesses to the driver_data field.
cf 82ab13b26f15f49be45f15ccc96bfa0b81dfd015

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
struct device *dev;
expression E;
type T;
@@

- dev->driver_data = (T)E
+ dev_set_drvdata(dev, E)

@@
struct device *dev;
type T;
@@

- (T)dev->driver_data
+ dev_get_drvdata(dev)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-05-17 19:31:49 +02:00
..
atmel ASoC: AFEB9260 driver 2009-05-08 19:14:34 +01:00
au1x ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
blackfin dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
codecs ASoC: Add missing __devexit in wm8940.c 2009-05-15 12:18:47 +02:00
davinci ASoC: DaVinci EVM board support buildfixes 2009-05-15 08:59:07 +01:00
fsl sound: use dev_set_drvdata 2009-05-17 19:31:49 +02:00
omap ASoC: Added OMAP3 EVM support in ASoC. 2009-05-14 12:47:26 +01:00
pxa ASoC: Optimize switch/case in magician.c 2009-05-15 12:20:52 +02:00
s3c24xx ASoC: Use platform device resource for S3C64xx IISv2 2009-04-30 14:08:01 +01:00
s6000 ASoC: correct s6000 I2S clock polarity 2009-04-06 11:18:39 +01:00
sh ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
Kconfig ASoC: Add driver for s6000 I2S interface 2009-04-04 15:28:22 +01:00
Makefile ASoC: Add driver for s6000 I2S interface 2009-04-04 15:28:22 +01:00
soc-core.c Merge branch 'for-2.6.30' into for-2.6.31 2009-05-12 10:53:33 +01:00
soc-dapm.c ASoC: Add power supply widget to DAPM 2009-04-22 19:10:13 +01:00
soc-jack.c ASoC: Staticise workqueue function for GPIO jack detection 2009-03-06 13:37:19 +00:00