diff options
author | Mark Brown <broonie@linaro.org> | 2013-07-30 13:19:55 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-07-31 13:00:53 +0100 |
commit | 3e4f8789946de61c61ce6a373d069d55725d956c (patch) | |
tree | 9e88e49a0d3611c154a61feea1e3c8d51ed82988 | |
parent | 38c4faaea4ca71c69584ef71cca8d0735d5361c1 (diff) |
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>
-rw-r--r-- | drivers/mfd/wm831x-spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/wm831x-spi.c b/drivers/mfd/wm831x-spi.c index e7ed14f661d..07de3cc5a0d 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); |