From: Manuel Lauss <manuel.lauss-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Manuel Lauss
<manuel.lauss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH] i2c-au1550: dev_pm_ops conversion.
Date: Tue, 21 Jul 2009 07:02:58 +0200 [thread overview]
Message-ID: <f861ec6f0907202202w104f269au8086a243b68d9b3a@mail.gmail.com> (raw)
In-Reply-To: <20090720210617.GA28218-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
Hi Ben,
On Mon, Jul 20, 2009 at 11:06 PM, Ben Dooks<ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org> wrote:
>> +
>> +static struct dev_pm_ops au1xpsc_smbus_pmops = {
>> + .resume = i2c_au1550_resume,
>> + .suspend = i2c_au1550_suspend,
>> +};
>>
>> static struct platform_driver au1xpsc_smbus_driver = {
>> .driver = {
>> .name = "au1xpsc_smbus",
>> .owner = THIS_MODULE,
>> + .pm = &au1xpsc_smbus_pmops,
>
> hmm, why not
> .pm = (struct dev_pm_ops &) {
> .suspend = ...,
> .resume = ...,
> },
>
> ?
I remember one patch being shot down on account of having this
style. I prefer the original style too, but I've no objections to changing
it...
Thank you!
Manuel Lauss
next prev parent reply other threads:[~2009-07-21 5:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-20 18:47 [PATCH] i2c-au1550: dev_pm_ops conversion Manuel Lauss
[not found] ` <1248115661-20189-1-git-send-email-manuel.lauss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-07-20 21:06 ` Ben Dooks
[not found] ` <20090720210617.GA28218-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
2009-07-21 5:02 ` Manuel Lauss [this message]
[not found] ` <f861ec6f0907202202w104f269au8086a243b68d9b3a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-29 23:47 ` Ben Dooks
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=f861ec6f0907202202w104f269au8086a243b68d9b3a@mail.gmail.com \
--to=manuel.lauss-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=manuel.lauss-Re5JQEeQqe8AvxtiuMwx3w@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).