firewire: move fw_device reference counting from drivers to core
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 27 Aug 2011 16:53:03 +0000 (18:53 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 15 Jan 2012 17:37:20 +0000 (18:37 +0100)
fw_unit device drivers invariably need to talk to the fw_unit's parent
(an fw_device) and grandparent (an fw_card).  firewire-core already
maintains an fw_card reference for the entire lifetime of an fw_device.
Likewise, let firewire-core maintain an fw_device reference for the
entire lifetime of an fw_unit so that fw_unit drivers don't have to.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

No differences found