summaryrefslogtreecommitdiff
path: root/drivers/bus/sunxi-rsb.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2021-01-18 06:01:07 +0300
committerChen-Yu Tsai <wens@csie.org>2021-01-18 06:01:07 +0300
commitcabb33dd1db69a6ee8e06eaf190b494c52e0f945 (patch)
treea7b405185f9ce6cd0eca73e6af9566cccccd85fb /drivers/bus/sunxi-rsb.c
parent4a0dbc12e61823ece7172df953c3333c8f5f9222 (diff)
parent3c15e00e7b58bc2b37e53d2612f0a0163281be77 (diff)
downloadlinux-cabb33dd1db69a6ee8e06eaf190b494c52e0f945.tar.xz
Merge remote-tracking branch 'mfd/ib-mfd-bus-5.12' into sunxi/drivers-for-5.12
Diffstat (limited to 'drivers/bus/sunxi-rsb.c')
-rw-r--r--drivers/bus/sunxi-rsb.c4
1 files changed, 3 insertions, 1 deletions
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 = {