aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorShawn Guo <[email protected]>2022-11-02 22:21:03 +0800
committerRafael J. Wysocki <[email protected]>2022-11-03 19:40:58 +0100
commitd9cc34fe0aae7e9df236be046a853fc63e889026 (patch)
tree8056a9fc110feb08f2a6e3c5f5d36db584dabc11 /drivers/fpga/fpga-mgr.c
parent615db6d96c725406ae39e2822e1fbde81ecf1efd (diff)
PM: domains: Consolidate genpd_restore_noirq() and genpd_resume_noirq()
Most of the logic between genpd_restore_noirq() and genpd_resume_noirq() are identical. The suspended_count decrement for restore should be the right thing to do anyway, considering there is an increment in genpd_finish_suspend() for hibernation. So consolidate these two functions into genpd_finish_resume(). Signed-off-by: Shawn Guo <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions