]> git.karo-electronics.de Git - karo-tx-linux.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)
commitef53b92ece675ed9778b50f4432e004683696d01
tree760d8ef241051956ff3387754d3bc48324ce13f1
parenta7415477a20448bbb7d13765784c0b29249a176f
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