OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Oct 2011 21:14:52 +0000 (14:14 -0700)
commit4f2b7b9165df53ef768f324aef7bbad4b558005f
treec8ff20c53e49715d67e509f30a2206ab30d2df2e
parentd694ac34a8565cc3639bcb766055e92c043c4291
ASoC: use a valid device for dev_err() in Zylonite

commit eff919ac0fc7565e71ffa35657c333dd8cdc0520 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/pxa/zylonite.c