Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08f336b8 authored by Levente Kurusa's avatar Levente Kurusa Committed by John W. Linville
Browse files

bcma: add missing put_device call



This is required so that we give up the last reference to the device.

Signed-off-by: default avatarLevente Kurusa <levex@linux.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d7df7a55
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -176,6 +176,7 @@ static int bcma_register_cores(struct bcma_bus *bus)
			bcma_err(bus,
				 "Could not register dev for core 0x%03X\n",
				 core->id.id);
			put_device(&core->dev);
			continue;
		}
		core->dev_registered = true;