]> git.baikalelectronics.ru Git - kernel.git/commit
USB: core: of: document reference taken by companion helper
authorJohan Hovold <johan@kernel.org>
Tue, 16 May 2017 14:26:14 +0000 (16:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2017 09:52:44 +0000 (11:52 +0200)
commit9114bf8c1c333d0c96eb18aa19b6fd417fa32439
tree760d8ef241051956ff3387754d3bc48324ce13f1
parentad22b4899c3f3f2bf21c284732444074433da0e8
USB: core: of: document reference taken by companion helper

Document that the new companion-device lookup helper takes a reference
to the companion device which needs to be dropped after use.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/of.c