ASoC: simple-card: Drop node->name checking
authorNicolin Chen <Guangyu.Chen@freescale.com>
Thu, 24 Apr 2014 11:13:58 +0000 (19:13 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 24 Apr 2014 12:20:11 +0000 (13:20 +0100)
commit50e6c718a1eb2ae6d05f22615d8268b026175a4a
tree0f2de38ac29b3ba054a1dc5d1dc5cd0afb0fa3ec
parentb3ca11ff59bc5842b01f13421a17e6d9a8936784
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>
sound/soc/generic/simple-card.c