]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: mxs-saif: remove function in platform_data
authorDong Aisheng <b29396@freescale.com>
Tue, 22 Nov 2011 15:52:21 +0000 (23:52 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 2 Dec 2011 05:56:42 +0000 (13:56 +0800)
commit778825801d9dc3745417d295344b5b1e27de0d86
tree368c01143b18c2b4a53229e4be2c40c04fd2b30c
parent5611cc4572e889b62a7b4c72a413536bf6a9c416
ASoC: mxs-saif: remove function in platform_data

Add master_mode and master_id in platfrom_data since it's board
specific and board knows it.
Then we can remove the function pointer in platfrom_data to make
the driver more devicetree friendly.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
include/sound/saif.h
sound/soc/mxs/mxs-saif.c