Ulf Hansson <ulf.hansson@xxxxxxxxxx> writes: > Due to the previous changes to genpd, which removed the suspend_power_off > flag, several of the system PM callbacks is no longer doing any additional > checks but only invoking a corresponding pm_generic_* helper function. > > To clean up the code let's remove these wrapper functions as they have > become redundant. Instead assign the system PM callbacks directly to > the pm_generic_*() helper function. > > While changing this, it became clear that some of the current system PM > callbacks in genpd, invokes the wrong callback at the driver level. For > example, genpd's ->restore() callback invokes pm_generic_resume(), while > it should be pm_generic_restore(). Let's fix this as well. > > Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx> Reviewed-by: Kevin Hilman <khilman@xxxxxxxxxxxx> Acked-by: Kevin Hilman <khilman@xxxxxxxxxxxx> Kevin _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel