mfd: wm831x: Remove erronious bits per word set
authorMark Brown <broonie@linaro.org>
Tue, 30 Jul 2013 12:19:55 +0000 (13:19 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 31 Jul 2013 12:00:53 +0000 (13:00 +0100)
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>
drivers/mfd/wm831x-spi.c

index e7ed14f..07de3cc 100644 (file)
@@ -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);