[PATCH] scoop: drop pcmcia_init callback

Eric Miao eric.y.miao at gmail.com
Tue Jun 14 05:57:17 EDT 2011


Applied.

On Tue, Jun 14, 2011 at 1:21 PM, Dmitry Eremin-Solenikov
<dbaryshkov at gmail.com> wrote:
> A pcmcia_init callback isn't used on any of the platforms. Drop it.
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> ---
>  arch/arm/include/asm/hardware/scoop.h |    1 -
>  drivers/pcmcia/pxa2xx_sharpsl.c       |    3 ---
>  2 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/include/asm/hardware/scoop.h b/arch/arm/include/asm/hardware/scoop.h
> index ebb3cea..58cdf5d 100644
> --- a/arch/arm/include/asm/hardware/scoop.h
> +++ b/arch/arm/include/asm/hardware/scoop.h
> @@ -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);
>  };
>
> diff --git a/drivers/pcmcia/pxa2xx_sharpsl.c b/drivers/pcmcia/pxa2xx_sharpsl.c
> index cece435..ca8cb322 100644
> --- a/drivers/pcmcia/pxa2xx_sharpsl.c
> +++ b/drivers/pcmcia/pxa2xx_sharpsl.c
> @@ -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
>
>



More information about the linux-pcmcia mailing list