summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-30 14:19:55 +0200
committerLee Jones <lee.jones@linaro.org>2013-07-31 14:00:53 +0200
commit3e4f8789946de61c61ce6a373d069d55725d956c (patch)
tree9e88e49a0d3611c154a61feea1e3c8d51ed82988 /drivers
parentmfd: ucb1x00: Explicitely include linux/device.h (diff)
downloadlinux-3e4f8789946de61c61ce6a373d069d55725d956c.tar.xz
linux-3e4f8789946de61c61ce6a373d069d55725d956c.zip
mfd: wm831x: Remove erronious bits per word set
Since the conversion to the regmap API setting bits per word will lead to data corruption since the regmap API already configures the bits per word appropriately. Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/wm831x-spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/wm831x-spi.c b/drivers/mfd/wm831x-spi.c
index e7ed14f661d8..07de3cc5a0d9 100644
--- a/drivers/mfd/wm831x-spi.c
+++ b/drivers/mfd/wm831x-spi.c
@@ -34,7 +34,6 @@ static int wm831x_spi_probe(struct spi_device *spi)
if (wm831x == NULL)
return -ENOMEM;
- spi->bits_per_word = 16;
spi->mode = SPI_MODE_0;
spi_set_drvdata(spi, wm831x);