ASoC: use a valid device for dev_err() in Zylonite
authorArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 20:03:34 +0000 (22:03 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 2 Oct 2011 18:16:52 +0000 (19:16 +0100)
commiteff919ac0fc7565e71ffa35657c333dd8cdc0520
tree409264c8038094246c318a1c9196353ab8d0b1ba
parent9058020cd9ae3423d6fe7de591698dc96b6701aa
ASoC: use a valid device for dev_err() in Zylonite

A recent conversion has introduced references to &pdev->dev, which does
not actually exist in all the contexts it's used in.

Replace this with card->dev where necessary, in order to let
the driver build again.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/pxa/zylonite.c