Merge tag 'staging-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[platform/kernel/linux-starfive.git] / drivers / staging / wfx / bus_spi.c
index bb31f8a..7fb1afb 100644 (file)
@@ -242,12 +242,11 @@ static int wfx_spi_probe(struct spi_device *func)
        return wfx_probe(bus->core);
 }
 
-static int wfx_spi_remove(struct spi_device *func)
+static void wfx_spi_remove(struct spi_device *func)
 {
        struct wfx_spi_priv *bus = spi_get_drvdata(func);
 
        wfx_release(bus->core);
-       return 0;
 }
 
 /* For dynamic driver binding, kernel does not use OF to match driver. It only