diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-11-13 14:36:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-14 11:21:25 +0000 |
commit | 2808f778de3d591c3c84034688fd09e38ada27a6 (patch) | |
tree | 9ee1e0a7010d948f888d0cc4aaa79a0a9b5be7aa /drivers | |
parent | 689d41fbd40afe3938eccfe3ea890872d86aec5b (diff) | |
download | lwn-2808f778de3d591c3c84034688fd09e38ada27a6.tar.gz lwn-2808f778de3d591c3c84034688fd09e38ada27a6.zip |
spi: fsl-espi: don't set pdata->cs_control
Don't set pdata->cs_control as it's nowhere used in fsl-espi and fsl-lib.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi-fsl-espi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index a1e1b68b400a..e5d7164d3956 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c @@ -706,7 +706,6 @@ static int of_fsl_espi_get_chipselects(struct device *dev) } pdata->max_chipselect = num_cs; - pdata->cs_control = NULL; return 0; } |