Skip to contentSkip to conversation

spi: fsl-espi: don't set pdata->cs_control

PATCH In review Heiner Kallweit 1 participant 1 message Nov 13, 2016 2 messages not in the archive SPI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 9ff2de0d-4192-521e-f605-c61e80511fce-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH 2/10 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.

---
 drivers/spi/spi-fsl-espi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-fsl-espi.c +0 -1
index a1e1b68..e5d7164 100644
@@ -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;
 }
Signature · 7 lines
2.10.1


--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html