ASoC: fsl: align mpc8610_hpcd with p1022_ds on getting codec node
authorShawn Guo <shawn.guo@linaro.org>
Fri, 24 Feb 2012 14:09:37 +0000 (22:09 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Feb 2012 12:35:08 +0000 (12:35 +0000)
commit7c59bc55e476947c1ea8a019e97aa648de53f5a0
treedcd9478da1454ee590320c49044129f1a0b54a60
parentfb1a6453bc413841876eac2ed1d7fd9e74b118fc
ASoC: fsl: align mpc8610_hpcd with p1022_ds on getting codec node

Align mpc8610_hpcd with p1022_ds on getting codec node by just calling
of_parse_phandle.  The bonus point of doing that is we can save
exporting get_node_by_phandle_name() when we consolidate the common
bits between mpc8610_hpcd and p1022_ds into a module, which can be
shared by more machine drivers added later.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/mpc8610_hpcd.c