ASoC: pcm3008: Move gpio allocation to probe
authorMark Brown <broonie@linaro.org>
Wed, 10 Jul 2013 15:48:24 +0000 (16:48 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:11:03 +0000 (11:11 +0100)
commitd7f184958e5292280c1048df951932bbfcd95f60
treeaf8099eb75a0e52a1e894db29007768e3ee0ccbd
parentb641edfbf253a67a87698df275e3a35a7deac5d4
ASoC: pcm3008: Move gpio allocation to probe

This is better from a device model point of view since we don't try to
do things like instantiate the card until the required resources appear.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/pcm3008.c