diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-08-18 09:48:20 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-18 16:41:54 +0200 |
commit | c99428d035908b9c0b8be452f9b091bc5e090256 (patch) | |
tree | 3991ffbbebf5a64cd3ea1dede3011ee97c89d452 /drivers/spi/spi-fsl-dspi.c | |
parent | Merge tag 'dt-endian' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni... (diff) | |
download | linux-c99428d035908b9c0b8be452f9b091bc5e090256.tar.xz linux-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/spi-fsl-dspi.c')
-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)) { |