[lkml]   [2009]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Run-time PM idea (was: Re: [linux-pm] [RFC][PATCH 0/2] PM: Rearrange core suspend code)
    Am Sonntag, 7. Juni 2009 23:46:59 schrieb Rafael J. Wysocki:
    > + * Use @work to get the device object the resume has been scheduled for,
    > + * check if the device is really suspended and run the ->autoresume()
    > callback + * from the device's bus type driver.  Update the run-time PM
    > flags in the + * device object to reflect the current status of the device.
    > + */
    > +static void pm_autoresume(struct work_struct *work)
    > +{

    Why do you pass it a struct work pointer?


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-06-08 00:05    [W:0.019 / U:32.536 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site