diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-07-15 11:43:09 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-07-21 09:59:21 +0530 |
commit | 3ecfc9135e6c82183d121c5578ed5d6f07a53ec8 (patch) | |
tree | c16b501f0fd6fe8c3d518c0450dd687126cabfc3 /tools/perf/scripts/python/libxed.py | |
parent | 88c5d0a2b9b043d0e000a4f64a28313e57d96a9c (diff) |
dmaengine: idxd: add driver register helper
Add helper functions for dsa-driver registration similar to other
bus-types. In particular, do not require dsa-drivers to open-code the
bus, owner, and mod_name fields. Let registration and unregistration
operate on the 'struct idxd_device_driver' instead of the raw /
embedded 'struct device_driver'.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/162637458949.744545.14996726325385482050.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions