* Converting to dev_pm_ops (remove annoying warnings)
@ 2009-07-28 10:44 Ben Dooks
2009-08-03 3:15 ` Magnus Damm
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2009-07-28 10:44 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-pm
I have a couple of questions about changing drivers to use the
dev_pm_ops method within drivers using the device driver model.
1) Should the suspend/resume code still be wrapped in #ifdef CONFIG_PM
and supply a NULL 'struct dev_pm_ops' wen CONFIG_PM=n
2) Is it allowable to submit changes to move drivers to dev_pm_ops
during the -rc phase, or do we have to wait for the merge window
before sending these? The number of warnings on a system that
relies heavily on platform devices is annoying (S3C24XX ARM).
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Converting to dev_pm_ops (remove annoying warnings)
2009-07-28 10:44 Converting to dev_pm_ops (remove annoying warnings) Ben Dooks
@ 2009-08-03 3:15 ` Magnus Damm
0 siblings, 0 replies; 2+ messages in thread
From: Magnus Damm @ 2009-08-03 3:15 UTC (permalink / raw)
To: Ben Dooks; +Cc: linux-kernel, linux-pm
Hi Ben!
On Tue, Jul 28, 2009 at 7:44 PM, Ben Dooks<ben-linux@fluff.org> wrote:
> I have a couple of questions about changing drivers to use the
> dev_pm_ops method within drivers using the device driver model.
>
> 1) Should the suspend/resume code still be wrapped in #ifdef CONFIG_PM
> and supply a NULL 'struct dev_pm_ops' wen CONFIG_PM=n
>
> 2) Is it allowable to submit changes to move drivers to dev_pm_ops
> during the -rc phase, or do we have to wait for the merge window
> before sending these? The number of warnings on a system that
> relies heavily on platform devices is annoying (S3C24XX ARM).
To begin with: I'm the one to blame for the annoying printouts. If
people dislike the printout then I'm all for disabling it later on in
the -rc phase. As you understand the goal is to motivate people to
update their drivers. =)
I'm not the right person to answer the merge policy question, but
wouldn't it be good to submit patches regardless of when they will be
picked up? OTOH, I guess knowing when helps if you have a bunch of
other changes queued up for your drivers though...
Any thoughts?
Cheers,
/ magnus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-03 3:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 10:44 Converting to dev_pm_ops (remove annoying warnings) Ben Dooks
2009-08-03 3:15 ` Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox