Skip to content

Commit

Permalink
pcmcia: soc_common: remove skt_dev_info's clk pointer
Browse files Browse the repository at this point in the history
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: Robert Jarzmik <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Russell King committed Sep 3, 2015
1 parent c3eb700 commit fca8b80
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/pcmcia/pxa2xx_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ static int pxa2xx_drv_pcmcia_probe(struct platform_device *dev)
return -ENOMEM;

sinfo->nskt = ops->nr;
sinfo->clk = clk;

/* Initialize processor specific parameters */
for (i = 0; i < ops->nr; i++) {
Expand Down
1 change: 0 additions & 1 deletion drivers/pcmcia/sa11xx_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
return -ENOMEM;

sinfo->nskt = nr;
sinfo->clk = clk;

/* Initialize processor specific parameters */
for (i = 0; i < nr; i++) {
Expand Down
1 change: 0 additions & 1 deletion drivers/pcmcia/soc_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ struct soc_pcmcia_socket {

struct skt_dev_info {
int nskt;
struct clk *clk;
struct soc_pcmcia_socket skt[0];
};

Expand Down

0 comments on commit fca8b80

Please sign in to comment.