Skip to contentSkip to conversation

scoop: drop pcmcia_init callback

PATCH New Dmitry Eremin-Solenikov 2 participants 2 messages Jun 14, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scoop: drop pcmcia_init callback

A pcmcia_init callback isn't used on any of the platforms. Drop it.

---
 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
index ebb3cea..58cdf5d 100644
@@ -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
index cece435..ca8cb322 100644
@@ -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
Applied
#1 lore raw

PATCH 1/1 scoop: drop pcmcia_init callback

Applied.

Quoted 38 lines · Dmitry Eremin-Solenikov

A pcmcia_init callback isn't used on any of the platforms. Drop it.

---
?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
index ebb3cea..58cdf5d 100644
@@ -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
index cece435..ca8cb322 100644
@@ -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;
--
1.7.5.3