ASoC: simple-card: Drop node->name checking
authorNicolin Chen <Guangyu.Chen@freescale.com>
Thu, 24 Apr 2014 11:13:58 +0000 (19:13 +0800)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:41 +0000 (11:14 +0100)
commitb243ad37bc8a4ab0ea58ede001786f1ce4d5c520
tree6db22c6f1012de373593b80507561b90df980f96
parent9e3b949a63dab09ed56e392f23b20b9395f3a0d1
ASoC: simple-card: Drop node->name checking

The current simple-card driver limits the DT node name to "sound".
Any of other names is forbidden while actually we should allow DT
to pass other node names.

And if this function is being called, the node must already have
the compatible "simple-audio-card" in DTB. So there should be no
need to check the name here.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 50e6c718a1eb2ae6d05f22615d8268b026175a4a)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/generic/simple-card.c