[02/10] spi: fsl-espi: don't set pdata->cs_control
diff mbox

Message ID cac42315-a5df-41d8-7245-9ed671682660@gmail.com
State Accepted
Commit 2808f778de3d591c3c84034688fd09e38ada27a6
Headers show

Commit Message

Heiner Kallweit Nov. 13, 2016, 1:36 p.m. UTC
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>
---
 drivers/spi/spi-fsl-espi.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox

diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c
index a1e1b68..e5d7164 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;
 }