sound: remove driver_data direct access of struct device
commitae31c1fbdbb18d917b0a1139497c2dbd35886989
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 4 May 2009 19:40:54 +0000 (4 12:40 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 May 2009 07:20:54 +0000 (12 09:20 +0200)
treecdc2e881e4195858a72a88627b28461900477757
parent091bf7624d1c90cec9e578a18529f615213ff847
sound: remove driver_data direct access of struct device

In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device.  Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used.  These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/fabrics/layout.c
sound/aoa/soundbus/i2sbus/core.c
sound/soc/codecs/wm8400.c
sound/soc/codecs/wm8731.c
sound/soc/codecs/wm8753.c