VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: Chen-Yu Tsai <wens@csie.org> 2021-01-18 11:01:07 +0800 committer: Chen-Yu Tsai <wens@csie.org> 2021-01-18 11:01:07 +0800 commit: cabb33dd1db69a6ee8e06eaf190b494c52e0f945 parent: 4a0dbc12e61823ece7172df953c3333c8f5f9222
Commit Summary:
Merge remote-tracking branch 'mfd/ib-mfd-bus-5.12' into sunxi/drivers-for-5.12
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/drivers/bus/sunxi-rsb.c b/drivers/bus/sunxi-rsb.c
index ba5100dfc413..d46db132d085 100644
--- a/drivers/bus/sunxi-rsb.c
+++ b/drivers/bus/sunxi-rsb.c
@@ -173,7 +173,9 @@ static int sunxi_rsb_device_remove(struct device *dev)
 {
 	const struct sunxi_rsb_driver *drv = to_sunxi_rsb_driver(dev->driver);
 
-	return drv->remove(to_sunxi_rsb_device(dev));
+	drv->remove(to_sunxi_rsb_device(dev));
+
+	return 0;
 }
 
 static struct bus_type sunxi_rsb_bus = {