mirror of https://gitee.com/openkylin/linux.git
PCMCIA: soc_common: remove 'dev' member from soc_pcmcia_socket
The 'dev' member is now only ever written, so we can safely remove it. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
b62d99b502
commit
f397b9c5dc
|
@ -288,7 +288,6 @@ int __pxa2xx_drv_pcmcia_probe(struct device *dev)
|
|||
|
||||
skt->nr = ops->first + i;
|
||||
skt->irq = NO_IRQ;
|
||||
skt->dev = dev;
|
||||
skt->ops = ops;
|
||||
skt->socket.owner = ops->owner;
|
||||
skt->socket.dev.parent = dev;
|
||||
|
|
|
@ -236,7 +236,6 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
|
|||
|
||||
skt->nr = first + i;
|
||||
skt->irq = NO_IRQ;
|
||||
skt->dev = dev;
|
||||
skt->ops = ops;
|
||||
skt->socket.owner = ops->owner;
|
||||
skt->socket.dev.parent = dev;
|
||||
|
|
|
@ -30,7 +30,6 @@ struct soc_pcmcia_socket {
|
|||
/*
|
||||
* Info from low level handler
|
||||
*/
|
||||
struct device *dev;
|
||||
unsigned int nr;
|
||||
unsigned int irq;
|
||||
|
||||
|
|
Loading…
Reference in New Issue