media: adv7604: simplify of_node_put()
authorNicholas Mc Guire <hofrat@opentech.at>
Fri, 1 Jun 2018 09:21:32 +0000 (05:21 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 10:48:52 +0000 (06:48 -0400)
commite32eb0d8a6cdc965347b964e45e40c9254bd7408
tree46bdfc5e03d9a16fbfa3428840e407f8e6dae716
parent7fc77a2fdaa985393d84b8967db2c27664ec384b
media: adv7604: simplify of_node_put()

As the of_node_put() is unconditional here there is no need to have it
twice.

Signed-off-by: Nicholas Mc Guire <hofrat@opentech.at>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/adv7604.c