From: Keshava Munegowda <keshava_mgowda-l0cyMroinI0@public.gmane.org>
To: Kalle Jokiniemi
<kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
cbouatmailru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>,
heikki.krogerus-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org,
sshtylyov-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org,
tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
Kevin Hilman <khilman-l0cyMroinI0@public.gmane.org>,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
jhnikula-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: RE: [PATCH v3 2/2] RX-51: Enable isp1704 power on/off
Date: Wed, 30 Mar 2011 12:08:32 +0530 [thread overview]
Message-ID: <a5285450b1fc92da8a42cc0733360a30@mail.gmail.com> (raw)
In-Reply-To: <1301405280-16899-3-git-send-email-kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
> +
> static struct platform_device rx51_charger_device = {
> - .name = "isp1704_charger",
> + .name = "isp1704_charger",
I don’t understand what difference between above two lines?
Is your mail client causing this? Or get send-mail doing this?
> + .dev = {
> + .platform_data = &rx51_charger_data,
> + },
> };
>
> +static void __init rx51_charger_init(void)
> +{
> + WARN_ON(gpio_request_one(RX51_USB_TRANSCEIVER_RST_GPIO,
> + GPIOF_OUT_INIT_LOW, "isp1704_reset"));
> +
> + platform_device_register(&rx51_charger_device);
> +}
> +
> #if defined(CONFIG_KEYBOARD_GPIO) ||
defined(CONFIG_KEYBOARD_GPIO_MODULE)
>
> #define RX51_GPIO_CAMERA_LENS_COVER 110
> @@ -981,6 +1004,6 @@ void __init rx51_peripherals_init(void)
> if (partition)
> omap2_hsmmc_init(mmc);
>
> - platform_device_register(&rx51_charger_device);
> + rx51_charger_init();
> }
>
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-03-30 6:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 13:27 [PATCH v3 0/2] isp1704_charger: fix powering for N900 Kalle Jokiniemi
2011-03-29 13:27 ` [PATCH v3 1/2] isp1704_charger: allow board specific powering routine Kalle Jokiniemi
2011-03-30 5:08 ` Heikki Krogerus
2011-03-29 13:28 ` [PATCH v3 2/2] RX-51: Enable isp1704 power on/off Kalle Jokiniemi
2011-03-30 5:08 ` Heikki Krogerus
2011-04-13 5:10 ` Heikki Krogerus
2011-04-13 6:28 ` Tony Lindgren
2011-04-20 10:38 ` kalle.jokiniemi
[not found] ` <9D0D31AA57AAF5499AFDC63D6472631B084995-vKHveGmogcsbcE5WFD5oKCw+Ng1cvSfHNLMJvB61ksU@public.gmane.org>
2011-04-20 10:56 ` kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w
2011-04-20 17:24 ` Anton Vorontsov
[not found] ` <1301405280-16899-3-git-send-email-kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2011-03-30 6:38 ` Keshava Munegowda [this message]
[not found] ` <a5285450b1fc92da8a42cc0733360a30-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-03-30 6:41 ` kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w
2011-03-30 6:44 ` Keshava Munegowda
2011-03-30 7:00 ` kalle.jokiniemi
[not found] ` <1301405280-16899-1-git-send-email-kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2011-04-07 7:13 ` [PATCH v3 0/2] isp1704_charger: fix powering for N900 kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w
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=a5285450b1fc92da8a42cc0733360a30@mail.gmail.com \
--to=keshava_mgowda-l0cymroini0@public.gmane.org \
--cc=balbi-l0cyMroinI0@public.gmane.org \
--cc=cbouatmailru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=heikki.krogerus-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org \
--cc=jhnikula-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=kalle.jokiniemi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org \
--cc=khilman-l0cyMroinI0@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sshtylyov-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org \
--cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.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).