Skip to content
Commit 4fb373df authored by Johan Hovold's avatar Johan Hovold Committed by Rob Herring
Browse files

of/platform: clarify of_find_device_by_node refcounting



Add comment clarifying that of_find_device_by_node() takes a reference
to the embedded struct device which needs to be dropped after use.

Note that most current users fail to do so.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 71ec6f4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment