From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] scoop: drop pcmcia_init callback
Date: Tue, 14 Jun 2011 17:57:17 +0800 [thread overview]
Message-ID: <BANLkTi=m9rmeTV7BoMAD=pbR_0XMxSMEbw@mail.gmail.com> (raw)
In-Reply-To: <1308028865-8460-1-git-send-email-dbaryshkov@gmail.com>
Applied.
On Tue, Jun 14, 2011 at 1:21 PM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> A pcmcia_init callback isn't used on any of the platforms. Drop it.
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@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
>
>
prev parent reply other threads:[~2011-06-14 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 5:21 [PATCH] scoop: drop pcmcia_init callback Dmitry Eremin-Solenikov
2011-06-14 9:57 ` Eric Miao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=m9rmeTV7BoMAD=pbR_0XMxSMEbw@mail.gmail.com' \
--to=eric.y.miao@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).