scoop: drop pcmcia_init callback
Subsystems (3)
PATCH 1/1 scoop: drop pcmcia_init callback
A pcmcia_init callback isn't used on any of the platforms. Drop it.
Signed-off-by Dmitry Eremin-Solenikov <[email protected]>
--- arch/arm/include/asm/hardware/scoop.h | 1 - drivers/pcmcia/pxa2xx_sharpsl.c | 3 --- 2 files changed, 0 insertions(+), 4 deletions(-)
arch/arm/include/asm/hardware/scoop.h +0 -1
@@ -61,7 +61,6 @@ struct scoop_pcmcia_dev {struct scoop_pcmcia_config {struct scoop_pcmcia_dev *devs;int num_devs; -void (*pcmcia_init)(void );void (*power_ctrl)(struct device *scoop,unsigned short cpr,int nr); };
drivers/pcmcia/pxa2xx_sharpsl.c +0 -3
@@ -48,9 +48,6 @@ static int sharpsl_pcmcia_hw_init(struct soc_pcmcia_socket *skt) {int ret; -if (platform_scoop_config->pcmcia_init) - platform_scoop_config->pcmcia_init (); -/* Register interrupts */ if (SCOOP_DEV [skt->nr].cd_irq >=0 ) {struct pcmcia_irqs cd_irq;
Signature · 1 line
1.7.5.3
Eric Miao
AppliedPATCH 1/1 scoop: drop pcmcia_init callback
Applied.
Quoted 38 lines · Dmitry Eremin-Solenikov
A
pcmcia_initcallback isn't used on any of the platforms. Drop it.Signed-off-by Dmitry Eremin-Solenikov <[email protected]>---
?arch/arm/include/asm/hardware/scoop.h | ? ?1 -
?drivers/pcmcia/pxa2xx_sharpsl.c ? ? ? | ? ?3 ---
?2 files changed, 0 insertions(+), 4 deletions(-)arch/arm/include/asm/hardware/scoop.h +0
-1@@ -61,7 +61,6 @@ struct scoop_pcmcia_dev { ?struct scoop_pcmcia_config { ? ? ? ?struct scoop_pcmcia_dev *devs; ? ? ? ?int num_devs; - ? ? ? void (*pcmcia_init)(void); ? ? ? ?void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr); ?};drivers/pcmcia/pxa2xx_sharpsl.c +0
-3@@ -48,9 +48,6 @@ static int sharpsl_pcmcia_hw_init(struct soc_pcmcia_socket *skt) ?{ ? ? ? ?int ret; - ? ? ? if (platform_scoop_config->pcmcia_init) - ? ? ? ? ? ? ? platform_scoop_config->pcmcia_init(); -? ? ? ?/* Register interrupts */
? ? ? ?if (SCOOP_DEV[skt->nr].cd_irq >= 0) {
? ? ? ? ? ? ? ?structpcmcia_irqscd_irq;
--
1.7.5.3