firewire: add parent-of-unit accessor
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 6 Jun 2009 16:35:27 +0000 (18:35 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 6 Jun 2009 19:45:50 +0000 (21:45 +0200)
Retrieval of an fw_unit's parent is a common pattern in high-level code.
Wrap it up as device = fw_parent_device(unit).

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

No differences found