diff options
author | Dave Airlie <airlied@redhat.com> | 2021-08-11 05:06:46 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2021-08-11 08:47:08 +1000 |
commit | 9efba20291f2e816e9c043875bf4e1f0f1416c63 (patch) | |
tree | 94fb01ad9081a6cc06582fb15c311670bc06531d /drivers/vfio | |
parent | 49f7844b08844ac7029f997702099c552566262b (diff) | |
parent | fc7a6209d5710618eb4f72a77cd81b8d694ecf89 (diff) | |
download | linux-9efba20291f2e816e9c043875bf4e1f0f1416c63.tar.bz2 |
Merge tag 'bus_remove_return_void-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core into drm-next
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
[airlied: fixed up merge conflict in drm]
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patchwork.freedesktop.org/patch/msgid/YPkwQwf0dUKnGA7L@kroah.com
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/mdev/mdev_driver.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/vfio/mdev/mdev_driver.c b/drivers/vfio/mdev/mdev_driver.c index c368ec824e2b..e2cb1ff56f6c 100644 --- a/drivers/vfio/mdev/mdev_driver.c +++ b/drivers/vfio/mdev/mdev_driver.c @@ -57,7 +57,7 @@ static int mdev_probe(struct device *dev) return ret; } -static int mdev_remove(struct device *dev) +static void mdev_remove(struct device *dev) { struct mdev_driver *drv = container_of(dev->driver, struct mdev_driver, driver); @@ -67,8 +67,6 @@ static int mdev_remove(struct device *dev) drv->remove(mdev); mdev_detach_iommu(mdev); - - return 0; } static int mdev_match(struct device *dev, struct device_driver *drv) |