ASoC: UDA1380: refactor device registration
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 15 Jun 2009 20:18:23 +0000 (22:18 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Jun 2009 20:54:48 +0000 (21:54 +0100)
commit1abd91849990ed61d6468ffa8b7fc1ae61db4b1a
tree8922b2292765450fe3022c3ddbcea1cf848b9e2e
parentb3b50b3f31775be5d2e441618bbc1c5cbee4d9f1
ASoC: UDA1380: refactor device registration

This patch mostly follows commit 5998102b9095fdb7c67755812038612afea315c5
"ASoC: Refactor WM8731 device registration" to make UDA1380 use standard
device instantiation. Similarly, the I2C device registration temporarily
moves into the magician machine driver before it will find its final
resting place in the board file.

At the same time, platform specific configuration is moved to platform data
and common power/reset GPIO handling moves into the codec driver.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/uda1380.h [new file with mode: 0644]
sound/soc/codecs/uda1380.c
sound/soc/codecs/uda1380.h
sound/soc/pxa/magician.c