diff options
author | Vinod Koul <vkoul@kernel.org> | 2021-07-27 19:12:14 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-07-27 19:12:14 +0530 |
commit | c28d5d5688c6278a1ad32670cbee35802a9e65c1 (patch) | |
tree | 9ee168f44d748f04d9fdbb490fbfabb55a39b708 /drivers/dma/idxd | |
parent | 0e96454ca26cc5c594ec792f7e5168cce726f7cf (diff) | |
parent | fc7a6209d5710618eb4f72a77cd81b8d694ecf89 (diff) |
Merge tag 'bus_remove_return_void-5.15' into next
This helps to remove conflict on idxd driver
Conflicts:
drivers/dma/idxd/sysfs.c
drivers/dma/idxd/bus.c
Greg says:
Bus: Make remove callback return void tag
Tag for other trees/branches to pull from in order to have a stable
place to build off of if they want to add new busses for 5.15.
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd')
-rw-r--r-- | drivers/dma/idxd/bus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/idxd/bus.c b/drivers/dma/idxd/bus.c index 02837f0fb3e4..6f84621053c6 100644 --- a/drivers/dma/idxd/bus.c +++ b/drivers/dma/idxd/bus.c @@ -58,14 +58,13 @@ static int idxd_config_bus_probe(struct device *dev) return idxd_drv->probe(idxd_dev); } -static int idxd_config_bus_remove(struct device *dev) +static void idxd_config_bus_remove(struct device *dev) { struct idxd_device_driver *idxd_drv = container_of(dev->driver, struct idxd_device_driver, drv); struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); idxd_drv->remove(idxd_dev); - return 0; } struct bus_type dsa_bus_type = { |