Re: [PATCH] of/platform: Implement support for dev_pm_ops

2009-10-13 Thread Benjamin Herrenschmidt
On Tue, 2009-10-13 at 02:44 +0400, Anton Vorontsov wrote: > I agree that there is some room for improvements in general (e.g. > merging platform and of_platform devices/drivers), but it's not as > easy as you would like to think. Let's make it in a separate step > that don't stop real features fro

Re: [PATCH] of/platform: Implement support for dev_pm_ops

2009-10-12 Thread Anton Vorontsov
On Mon, Oct 12, 2009 at 03:09:53PM -0700, Grant Likely wrote: > On Mon, Oct 12, 2009 at 8:50 AM, Anton Vorontsov > wrote: > > Linux power management subsystem supports vast amount of new PM > > callbacks that are crucial for proper suspend and hibernation support > > in drivers. > > > > This patch

Re: [PATCH] of/platform: Implement support for dev_pm_ops

2009-10-12 Thread Grant Likely
On Mon, Oct 12, 2009 at 8:50 AM, Anton Vorontsov wrote: > Linux power management subsystem supports vast amount of new PM > callbacks that are crucial for proper suspend and hibernation support > in drivers. > > This patch implements support for dev_pm_ops, preserving support > for legacy callback

[PATCH] of/platform: Implement support for dev_pm_ops

2009-10-12 Thread Anton Vorontsov
Linux power management subsystem supports vast amount of new PM callbacks that are crucial for proper suspend and hibernation support in drivers. This patch implements support for dev_pm_ops, preserving support for legacy callbacks. Signed-off-by: Anton Vorontsov --- drivers/of/platform.c | 30