diff options
author | Ulf Hansson <[email protected]> | 2017-03-20 11:19:20 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-03-29 00:11:34 +0200 |
commit | 41e2c8e0060db250cf70bc2a41ea6595a90b360c (patch) | |
tree | f3e3ea60668d6a6b75567bac3773a17e67f1279e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 8ce95844c85349243520b6943ec1225a047d7d6c (diff) |
PM / Domains: Clean up code validating genpd's status
There exists several similar validations of the genpd->status, against
GPD_STATE_ACTIVE and GPD_STATE_POWER_OFF. Let's clean up this code by
converting to use a helper macro, genpd_status_on().
Signed-off-by: Ulf Hansson <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions