summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-dspi.c
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-08-18 15:48:20 +0800
committerMark Brown <broonie@linaro.org>2014-08-18 09:41:54 -0500
commitc99428d035908b9c0b8be452f9b091bc5e090256 (patch)
tree3991ffbbebf5a64cd3ea1dede3011ee97c89d452 /drivers/spi/spi-fsl-dspi.c
parentdc8fcd711610063681f1e9fd860823b1108182ca (diff)
downloadop-kernel-dev-c99428d035908b9c0b8be452f9b091bc5e090256.zip
op-kernel-dev-c99428d035908b9c0b8be452f9b091bc5e090256.tar.gz
spi: fsl-dspi: Convert to use regmap framework's endianness method.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Acked-by: Chao Fu <b44548@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-fsl-dspi.c')
-rw-r--r--drivers/spi/spi-fsl-dspi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 5021ddf..ebc4d1f 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -493,9 +493,6 @@ static int dspi_probe(struct platform_device *pdev)
}
dspi_regmap_config.lock_arg = dspi;
- dspi_regmap_config.val_format_endian =
- of_property_read_bool(np, "big-endian")
- ? REGMAP_ENDIAN_BIG : REGMAP_ENDIAN_DEFAULT;
dspi->regmap = devm_regmap_init_mmio_clk(&pdev->dev, "dspi", base,
&dspi_regmap_config);
if (IS_ERR(dspi->regmap)) {
OpenPOWER on IntegriCloud