OSDN Git Service

PM / core: Re-factor some code dealing with parents in __device_suspend()
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Nov 2017 15:46:41 +0000 (16:46 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Dec 2017 00:59:58 +0000 (01:59 +0100)
commit1172ee31259b51a9b2d83b05f01161fd5938b15d
tree4294d385cc7b25f4c968fd14bc7058a6ff1e9975
parent47acbd77e6e481abf2f41d3a99cb3762f296b2e6
PM / core: Re-factor some code dealing with parents in __device_suspend()

Let's make the code a bit more readable by moving some of the code, which
deals with adjustments for parent devices in __device_suspend(), into its
own function.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/main.c