spi/pl022: get rid of chipinfo dev pointer

What is the dev pointer doing inside the platform data anyway.
We have another pointer to the actual device at hand, use that.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Linus Walleij 2010-10-01 11:47:32 +02:00 committed by Grant Likely
parent bde435a9ca
commit 5a1c98be1d
2 changed files with 12 additions and 16 deletions

View file

@ -276,7 +276,6 @@ struct pl022_ssp_controller {
* @dma_config: DMA configuration for SSP controller and peripheral
*/
struct pl022_config_chip {
struct device *dev;
enum ssp_interface iface;
enum ssp_hierarchy hierarchy;
bool slave_tx_disable;