dmaengine: idxd: move probe() bits for idxd 'struct device' to device.c
authorDave Jiang <dave.jiang@intel.com>
Thu, 15 Jul 2021 18:44:01 +0000 (11:44 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 21 Jul 2021 04:39:15 +0000 (10:09 +0530)
commitbd42805b5da33b9c75f3ce0ae9d6ff0ec3f2cd6b
tree1854b7d2441c8b8378a5f9f195193f78c999a263
parentfcc2281b142bf14e3534d6b1150991194f8d1d44
dmaengine: idxd: move probe() bits for idxd 'struct device' to device.c

Move the code related to a ->probe() function for the idxd
'struct device' to device.c to prep for the idxd device
sub-driver in device.c.

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/162637464189.744545.17423830646786162194.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/device.c
drivers/dma/idxd/idxd.h
drivers/dma/idxd/sysfs.c