diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-30 20:10:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-31 11:09:53 +0300 |
commit | 90be1f15c39858a4f0f4346c39fa150697d231c1 (patch) | |
tree | a6fb56b9d7242493b98cc07ea613e1f226f84f62 /tools/perf/scripts/python/task-analyzer.py | |
parent | b7810ea80ff0e1f7035c87296eb5ec77e4c13ec7 (diff) | |
download | linux-90be1f15c39858a4f0f4346c39fa150697d231c1.tar.xz |
driver core: soc: remove layering violation for the soc_bus
The soc_bus code pokes around in the internal bus structures assuming
that it "knows" if a field is not set that it has not been registered
yet. That isn't a safe assumption, so just remove the layering
violation entirely and keep track if the bus has been registered or not
ourselves.
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20230130171059.1784057-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions