• Rafael J. Wysocki's avatar
    PM / Domains: Use power.sybsys_data to reduce overhead · 4605ab65
    Rafael J. Wysocki authored
    Currently pm_genpd_runtime_resume() has to walk the list of devices
    from the device's PM domain to find the corresponding device list
    object containing the need_restore field to check if the driver's
    .runtime_resume() callback should be executed for the device.
    This is suboptimal and can be simplified by using power.sybsys_data
    to store device information used by the generic PM domains code.
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    4605ab65
pm-sh7372.c 5.18 KB