Re: [PATCH] pm: rename device_power_down/up()

Magnus Damm
2009-05-15T03:04:17Z

On Fri, May 15, 2009 at 3:39 AM, Alan Stern <stern@rowland.harvard.edu> wrote:
> So I suggest even more renaming on top of these changes:
>
>        resume_device -> device_resume
>        complete_device -> device_complete
>        device_resume - > dpm_resume_all
>
>        suspend_device -> device_suspend
>        prepare_device -> device_prepare
>        device_suspend -> dpm_suspend_all
>
> How does that sound?

Renaming more sounds good!

I did however name the _noirq functions to follow device_suspend() and
device_resume(). So feel free to rename the _norirq functions again if
you rename device_suspend() and device_resume() according to the list
above.

Thanks!

/ magnus