mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
media: staging: media: tegra-video: Replace custom implementation of device_match_fwnode()
Replace custom implementation of the device_match_fwnode(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
026df23098
commit
b358332270
@ -1811,7 +1811,7 @@ static int tegra_vi_graph_parse_one(struct tegra_vi_channel *chan,
|
||||
}
|
||||
|
||||
/* skip entities that are already processed */
|
||||
if (remote == dev_fwnode(vi->dev) ||
|
||||
if (device_match_fwnode(vi->dev, remote) ||
|
||||
tegra_vi_graph_find_entity(chan, remote)) {
|
||||
fwnode_handle_put(remote);
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user