Commit fca8b807 authored by Russell King's avatar Russell King

pcmcia: soc_common: remove skt_dev_info's clk pointer

We no longer need to store the clk pointer in struct skt_dev_info as we
no longer need to remember the clk pointer for the cleanup paths.
Reviewed-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c3eb700c
...@@ -308,7 +308,6 @@ static int pxa2xx_drv_pcmcia_probe(struct platform_device *dev) ...@@ -308,7 +308,6 @@ static int pxa2xx_drv_pcmcia_probe(struct platform_device *dev)
return -ENOMEM; return -ENOMEM;
sinfo->nskt = ops->nr; sinfo->nskt = ops->nr;
sinfo->clk = clk;
/* Initialize processor specific parameters */ /* Initialize processor specific parameters */
for (i = 0; i < ops->nr; i++) { for (i = 0; i < ops->nr; i++) {
......
...@@ -233,7 +233,6 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, ...@@ -233,7 +233,6 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
return -ENOMEM; return -ENOMEM;
sinfo->nskt = nr; sinfo->nskt = nr;
sinfo->clk = clk;
/* Initialize processor specific parameters */ /* Initialize processor specific parameters */
for (i = 0; i < nr; i++) { for (i = 0; i < nr; i++) {
......
...@@ -68,7 +68,6 @@ struct soc_pcmcia_socket { ...@@ -68,7 +68,6 @@ struct soc_pcmcia_socket {
struct skt_dev_info { struct skt_dev_info {
int nskt; int nskt;
struct clk *clk;
struct soc_pcmcia_socket skt[0]; struct soc_pcmcia_socket skt[0];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment