diff options
author | Uwe Kleine-König <[email protected]> | 2021-01-26 17:58:35 +0100 |
---|---|---|
committer | Uwe Kleine-König <[email protected]> | 2021-02-02 14:26:02 +0100 |
commit | f170b59fedd733b92f58c4d7c8357fbf7601d623 (patch) | |
tree | 59a4fcd89ce86de32f068c2052f17a348188ae7e /tools/perf/scripts/python/compaction-times.py | |
parent | 3fd269e74f2feec973f45ee11d822faeda4fe284 (diff) |
amba: Make use of bus_type functions
Instead of assigning the needed functions for each driver separately do it
only once in amba_bustype. Move the definition of the functions to their
proper place among the other callbacks used there. Note that the bus's
shutdown function might be called for unbound devices, too, so it needs
additional guarding.
This prepares getting rid of these callbacks in struct device_driver.
Reviewed-by: Ulf Hansson <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions