summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ad1836.c
diff options
context:
space:
mode:
authorBarry Song <21cnbao@gmail.com>2009-09-21 11:20:51 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-09-21 16:58:33 -0700
commit98235a4bb01f288c82f7b878996e507f6159fd69 (patch)
tree14c6c28fc6d95742da7cd001cef608211954b794 /sound/soc/codecs/ad1836.c
parent0c31cf3e4af79ea18bbd365b07ef0de207673894 (diff)
downloadkernel-98235a4bb01f288c82f7b878996e507f6159fd69.tar.gz
ASoC: some minor changes for AD1836 and AD1938 codec drivers
1. delete redundant assignment to bus field in spi_driver structure 2. fix lost assignment to set_bias_level entry in ad1938 codec dai 3. change spi driver name of ad1836 from "ad1836-spi" to "ad1836" Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ad1836.c')
-rw-r--r--sound/soc/codecs/ad1836.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/ad1836.c b/sound/soc/codecs/ad1836.c
index 01343dc984fd..c48485f2c55d 100644
--- a/sound/soc/codecs/ad1836.c
+++ b/sound/soc/codecs/ad1836.c
@@ -251,8 +251,7 @@ static int __devexit ad1836_spi_remove(struct spi_device *spi)
static struct spi_driver ad1836_spi_driver = {
.driver = {
- .name = "ad1836-spi",
- .bus = &spi_bus_type,
+ .name = "ad1836",
.owner = THIS_MODULE,
},
.probe = ad1836_spi_probe,