projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e4f8b
)
dmaengine: idxd: remove bus shutdown
author
Dave Jiang
<dave.jiang@intel.com>
Thu, 15 Jul 2021 18:43:43 +0000
(11:43 -0700)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 21 Jul 2021 04:39:15 +0000
(10:09 +0530)
Remove ->shutdown() function for the dsa bus as it does not do anything and
is not necessary.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link:
https://lore.kernel.org/r/162637462319.744545.10383189484257042066.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/dma/idxd/sysfs.c
b/drivers/dma/idxd/sysfs.c
index 9967fad58a0175efafcb66f8cae970ea5ab2c928..c3c869d8119abead1936233e1d8742f5931b7d41 100644
(file)
--- a/
drivers/dma/idxd/sysfs.c
+++ b/
drivers/dma/idxd/sysfs.c
@@
-126,17
+126,11
@@
static int idxd_config_bus_remove(struct device *dev)
return 0;
}
-static void idxd_config_bus_shutdown(struct device *dev)
-{
- dev_dbg(dev, "%s called\n", __func__);
-}
-
struct bus_type dsa_bus_type = {
.name = "dsa",
.match = idxd_config_bus_match,
.probe = idxd_config_bus_probe,
.remove = idxd_config_bus_remove,
- .shutdown = idxd_config_bus_shutdown,
};
static struct idxd_device_driver dsa_drv = {