summaryrefslogtreecommitdiff
path: root/drivers/siox/siox-core.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2021-07-27 16:42:14 +0300
committerVinod Koul <vkoul@kernel.org>2021-07-27 16:42:14 +0300
commitc28d5d5688c6278a1ad32670cbee35802a9e65c1 (patch)
tree9ee168f44d748f04d9fdbb490fbfabb55a39b708 /drivers/siox/siox-core.c
parent0e96454ca26cc5c594ec792f7e5168cce726f7cf (diff)
parentfc7a6209d5710618eb4f72a77cd81b8d694ecf89 (diff)
downloadlinux-c28d5d5688c6278a1ad32670cbee35802a9e65c1.tar.xz
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/siox/siox-core.c')
-rw-r--r--drivers/siox/siox-core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/siox/siox-core.c b/drivers/siox/siox-core.c
index 1794ff0106bc..7c4f32d76966 100644
--- a/drivers/siox/siox-core.c
+++ b/drivers/siox/siox-core.c
@@ -520,7 +520,7 @@ static int siox_probe(struct device *dev)
return sdriver->probe(sdevice);
}
-static int siox_remove(struct device *dev)
+static void siox_remove(struct device *dev)
{
struct siox_driver *sdriver =
container_of(dev->driver, struct siox_driver, driver);
@@ -528,8 +528,6 @@ static int siox_remove(struct device *dev)
if (sdriver->remove)
sdriver->remove(sdevice);
-
- return 0;
}
static void siox_shutdown(struct device *dev)