diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-04-15 16:38:09 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-04-20 16:43:53 +0530 |
commit | 435b512dbc0dac42b34348393049b386bb1a19bd (patch) | |
tree | 9d2c9993b952f873ad14943266db611407c5c746 /drivers/ata/acard-ahci.c | |
parent | 4b73e4ebd43ce48101a4c09bf13d439a954d61c5 (diff) | |
download | linux-435b512dbc0dac42b34348393049b386bb1a19bd.tar.bz2 |
dmaengine: idxd: remove detection of device type
Move all static data type for per device type to an idxd_driver_data data
structure. The data can be attached to the pci_device_id and provided by
the pci probe function. This removes a lot of unnecessary type detection
and setup code.
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/161852988924.2203940.2787590808682466398.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/ata/acard-ahci.c')
0 files changed, 0 insertions, 0 deletions