diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2018-06-12 19:23:16 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-28 13:49:29 +0200 |
commit | f11552d030e8e5a0a945b1920e31eaf48fe3fad4 (patch) | |
tree | 32a3b572a9739426ca2645be528b1c46fb16aef9 /drivers/media/pci/cx25821/cx25821.h | |
parent | media: stm32-dcmi: add mandatory of_node_put() in success path (diff) | |
download | linux-f11552d030e8e5a0a945b1920e31eaf48fe3fad4.tar.xz linux-f11552d030e8e5a0a945b1920e31eaf48fe3fad4.zip |
media: stm32-dcmi: simplify of_node_put usage
This does not fix any bug - this is just a code simplification. As
np is not used after passing it to v4l2_fwnode_endpoint_parse() its
refcount can be decremented immediately and at one location.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821.h')
0 files changed, 0 insertions, 0 deletions