mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 02:06:43 +07:00
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: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
c3eb700c5d
commit
fca8b807a6
@ -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++) {
|
||||
|
@ -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++) {
|
||||
|
@ -68,7 +68,6 @@ struct soc_pcmcia_socket {
|
||||
|
||||
struct skt_dev_info {
|
||||
int nskt;
|
||||
struct clk *clk;
|
||||
struct soc_pcmcia_socket skt[0];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user