Re: [PATCH] sonypi: Use struct dev_pm_ops for power management

From: Mattia Dongili
Date: Wed Jun 27 2012 - 07:34:41 EST


On Sat, Jun 23, 2012 at 11:46:26PM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@xxxxxxx>
>
> Make the sonypi driver define its PM callbacks through
> a struct dev_pm_ops object rather than by using legacy PM hooks
> in struct platform_driver.
>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

Acked-by: Mattia Dongili <malattia@xxxxxxxx>

> ---
>
> Hi,
>
> If there are no objections, I'd like to push this patch for 3.6 through
> the linux-pm tree.
>
> Unfortunately, I don't have the hardware to test it, but I hope it is simple
> enough for code inspection to suffice.

It looks ok to me. I do have the hardware but it's very old, last time I
booted that laptop is at least 5 years ago, not even sure it still boots
actually.

I'll give it a go if I get the time but don't count too much on it so
please include this in 3.6.

Thanks!
--
mattia
:wq!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/