commit | 210762268466634ddbfaddb48fdf5181ce4b5f2d | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sat Aug 27 18:53:03 2011 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sun Jan 15 18:37:20 2012 +0100 |
tree | 8c07da360066158aa48f450dfeb593ed9ed76d0f | |
parent | 2ca526bf4953380abfe5dff455e356967b239c70 [diff] |
firewire: move fw_device reference counting from drivers to core 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>