From: Mark Brown Date: Tue, 30 Jul 2013 12:19:55 +0000 (+0100) Subject: mfd: wm831x: Remove erronious bits per word set X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=3e4f8789946de61c61ce6a373d069d55725d956c;p=deliverable%2Flinux.git 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 Signed-off-by: Lee Jones --- 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);