diff options
author | Tomeu Vizoso <[email protected]> | 2016-01-07 16:46:12 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-01-08 01:12:06 +0100 |
commit | 6b9cb42752dafba3761dde0002ca58ca518b6311 (patch) | |
tree | 88de15e9d04f0da4de645852675cf13d06275e08 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c4e4d631feb3be4ddf885e647127fddebb450334 (diff) |
device core: add device_is_bound()
Adds a function that tells whether a device is already bound to a
driver.
This is needed to warn when there is an attempt to change the PM domain
of a device that has finished probing already. The reason why we want to
enforce that is because in the general case that can cause problems and
also that we can simplify code quite a bit if we can always assume that.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions