[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200908061416.08564.rjw@sisk.pl>
Date: Thu, 6 Aug 2009 14:16:08 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Daniel Mack <daniel@...aq.de>
Cc: Frans Pop <elendil@...net.nl>,
pHilipp Zabel <philipp.zabel@...il.com>,
albin.tonnerre@...e-electrons.com, dmitry.torokhov@...il.com,
linux-kernel@...r.kernel.org, linux-pm@...ts.linux-foundation.org
Subject: Re: [PATCH] PM: Add convenience macro to make switching to dev_pm_ops less error-prone
On Thursday 06 August 2009, Daniel Mack wrote:
> On Wed, Aug 05, 2009 at 11:30:07PM +0200, Rafael J. Wysocki wrote:
> > On Wednesday 05 August 2009, Frans Pop wrote:
> > > Rafael J. Wysocki wrote:
> > >
> > > > +#define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \
> > > > +struct dev_pm_ops name = { \
> > > > + .suspend = suspend_fn, \
> > > > + .resume = resume_fn, \
> > > > + .freeze = suspend_fn, \
> > > > + .thaw = resume_fn, \
> > > > + .poweroff = suspend_fn, \
> > > > + .resume = resume_fn, \
> > >
> > > That defines .resume twice. Guess the last should be restore.
> >
> > Yes, thanks to you and Philipp for noticing that and sorry for the mistake.
>
> When is a good point to resend patches that use this macro? I guess they
> won't make it to .31 anyway, right? So I just wait for the next merge
> window?
Yes, I think that would be the right thing to do.
Best,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists