diff options
| author | Johan Hovold <johan@kernel.org> | 2016-11-01 11:53:22 +0100 |
|---|---|---|
| committer | Rob Herring <robh@kernel.org> | 2016-11-15 09:17:19 -0600 |
| commit | 4fb373dfabee1367b7553003b4d6491ee8bf4c2a (patch) | |
| tree | 0f956e43175630b0a72ca9b4daa983bace592863 /net/lapb/lapb_timer.c | |
| parent | 71ec6f4f7314d4d3ac44bae038bd748bd7961dc6 (diff) | |
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: Johan Hovold <johan@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
