]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: rcar-vin: Remove explicit device availability check
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 24 Jun 2021 08:40:45 +0000 (10:40 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Aug 2021 14:52:30 +0000 (16:52 +0200)
commit6b127f97c016a732322fc4db3b79592d72634c8e
tree53ac2d292a57c30037de29a2b4975bc2bc5af1a7
parent7351a82788ee5f4d63b9a76c2745ce1482acaf1f
media: rcar-vin: Remove explicit device availability check

The fwnode is retrieved using fwnode_graph_get_endpoint_by_id() without
the FWNODE_GRAPH_DEVICE_DISABLED flag set. So there is no need to
explicitly check if the fwnode is available as it always will be when
the check is performed, remove it.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-core.c