• Rafael J. Wysocki's avatar
    PM / Runtime: Add subsystem data field to struct dev_pm_info · 1d2b71f6
    Rafael J. Wysocki authored
    Some subsystems need to attach PM-related data to struct device and
    they need to use devres for this purpose.  For their convenience
    and to make code more straightforward, add a new field called
    subsys_data to struct dev_pm_info and let subsystems use it for
    attaching PM-related information to devices.
    
    Convert the ARM shmobile platform to using the new field.
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    1d2b71f6
pm_runtime.c 3.98 KB