android_kernel_xiaomi_sm8350/sound/soc/fsl
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
..
fsl_dma.c ASoC: fsl_dma: Pass the proper device for dma mapping routines 2009-04-06 23:35:42 +01:00
fsl_dma.h ALSA: asoc: fsl - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:40 +02:00
fsl_ssi.c sound: use dev_set_drvdata 2009-05-17 19:31:49 +02:00
fsl_ssi.h ASoC: add support for SSI asynchronous mode to the Freescale SSI drivers 2009-03-06 13:37:16 +00:00
Kconfig ASoC: Remove BROKEN from mpc5200 kconfig 2009-05-04 16:03:21 +02:00
Makefile ASoC: Allow Freescale MPC8610 audio drivers to be compiled as modules 2009-01-20 20:30:59 +00:00
mpc5200_psc_i2s.c ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
mpc8610_hpcd.c ASoC: add support for SSI asynchronous mode to the Freescale SSI drivers 2009-03-06 13:37:16 +00:00
soc-of-simple.c ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00