diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-12-07 15:22:18 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-07 17:22:44 +0100 |
commit | f18caf261398a7f2de4fa3f600deb87072fe7b8d (patch) | |
tree | b6b58de20d7ea45e01b715eb2deeacff7e1143b1 /include/linux/ring_buffer.h | |
parent | 47446b50ad2549af4fcc93f82a148ab107e6ef6a (diff) | |
download | linux-f18caf261398a7f2de4fa3f600deb87072fe7b8d.tar.gz linux-f18caf261398a7f2de4fa3f600deb87072fe7b8d.tar.bz2 linux-f18caf261398a7f2de4fa3f600deb87072fe7b8d.zip |
device property: Fix documentation for fwnode_get_next_parent()
Use fwnode_handle_put() on the node pointer to release the refcount.
Change fwnode_handle_node() to fwnode_handle_put().
Fixes: 233872585de1 ("device property: Add fwnode_get_next_parent()")
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Daniel Scally <djrscally@gmail.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20221207112219.2652411-1-linmq006@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/ring_buffer.h')
0 files changed, 0 insertions, 0 deletions