diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-08-18 15:48:20 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-18 09:41:54 -0500 |
commit | c99428d035908b9c0b8be452f9b091bc5e090256 (patch) | |
tree | 3991ffbbebf5a64cd3ea1dede3011ee97c89d452 /drivers/spi | |
parent | dc8fcd711610063681f1e9fd860823b1108182ca (diff) | |
download | linux-stable-c99428d035908b9c0b8be452f9b091bc5e090256.tar.gz linux-stable-c99428d035908b9c0b8be452f9b091bc5e090256.tar.bz2 linux-stable-c99428d035908b9c0b8be452f9b091bc5e090256.zip |
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')
-rw-r--r-- | drivers/spi/spi-fsl-dspi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index 5021ddf03f60..ebc4d1fd76e2 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)) { |