aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wl1273.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-02-17 22:07:17 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 05:41:53 -0400
commit15de7a41d30cfe8090efdc5fd6a92ed7a2d80ce7 (patch)
tree60b8946eaad5a7be79670d4e45546ab7f016ed41 /sound/soc/codecs/wl1273.c
parenta23090ada44889322fe39142fb58ebc5794f709c (diff)
mfd: mfd_cell is now implicitly available to wl1273 drivers
The cell's platform_data is now accessed with a helper function; change clients to use that, and remove the now-unused data_size. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'sound/soc/codecs/wl1273.c')
-rw-r--r--sound/soc/codecs/wl1273.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c
index 861b28f543d2..1ad0d5aecece 100644
--- a/sound/soc/codecs/wl1273.c
+++ b/sound/soc/codecs/wl1273.c
@@ -436,7 +436,8 @@ EXPORT_SYMBOL_GPL(wl1273_get_format);
436 436
437static int wl1273_probe(struct snd_soc_codec *codec) 437static int wl1273_probe(struct snd_soc_codec *codec)
438{ 438{
439 struct wl1273_core **core = codec->dev->platform_data; 439 struct wl1273_core **core =
440 mfd_get_data(to_platform_device(codec->dev));
440 struct wl1273_priv *wl1273; 441 struct wl1273_priv *wl1273;
441 int r; 442 int r;
442 443