ASoC: fsl: create fsl_utils to accommodate the common functions
authorShawn Guo <shawn.guo@linaro.org>
Fri, 16 Mar 2012 08:56:40 +0000 (16:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:28:27 +0000 (11:28 +0100)
commit60aae8da298e3ac0af07c8cdb6a98e47e8deab35
tree3d8b42210aaff89459c8a7ec7185a8c7e4ac616f
parentf19493a3d25ddf3ac7f27d846d54e95fb91af119
ASoC: fsl: create fsl_utils to accommodate the common functions

There is some amount of code duplication between mpc8610_hpcd and
p1022_ds machine drivers, and the same code will be duplicated again
when another new machine driver is added.  The patch creates fsl_utils
to accommodate the common functions to stop the code duplication.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/Kconfig
sound/soc/fsl/Makefile
sound/soc/fsl/fsl_utils.c [new file with mode: 0644]
sound/soc/fsl/fsl_utils.h [new file with mode: 0644]
sound/soc/fsl/mpc8610_hpcd.c
sound/soc/fsl/p1022_ds.c