ASoC: wm9713: Move driver state struct allocation to driver probe
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 30 Oct 2014 20:01:09 +0000 (21:01 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 31 Oct 2014 17:34:00 +0000 (17:34 +0000)
Resources for the device should be allocated in the device driver probe
callback, rather than in the ASoC CODEC probe callback.

E.g. one advantage is that we can use device managed allocations.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found