Skip to content

Commit c755ad9

Browse files
committed
Merge tag 'sunxi-fixes-for-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes
Fix return value in RSB bus driver * tag 'sunxi-fixes-for-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create() Link: https://lore.kernel.org/r/Ymbkd+/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 2f477ee + fff8c10 commit c755ad9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/bus/sunxi-rsb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ static struct sunxi_rsb_device *sunxi_rsb_device_create(struct sunxi_rsb *rsb,
227227

228228
dev_dbg(&rdev->dev, "device %s registered\n", dev_name(&rdev->dev));
229229

230+
return rdev;
231+
230232
err_device_add:
231233
put_device(&rdev->dev);
232234

0 commit comments

Comments
 (0)