On 29-05-18, 12:04, Ulf Hansson wrote: > To extend genpd to deal with allowing multiple PM domains per device, some > of the code in genpd_dev_pm_attach() can be re-used. Let's prepare for this > by moving some of the code into a sub-function. > > Signed-off-by: Ulf Hansson <ulf.hans...@linaro.org> > --- > drivers/base/power/domain.c | 60 ++++++++++++++++++++----------------- > 1 file changed, 33 insertions(+), 27 deletions(-)
Reviewed-by: Viresh Kumar <viresh.ku...@linaro.org> -- viresh