mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
[media] v4l: Switch from V4L2 OF not V4L2 fwnode API
Switch users of the v4l2_of_ APIs to the more generic v4l2_fwnode_ APIs. Async OF matching is replaced by fwnode matching and OF matching support is removed. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Benoit Parrot <bparrot@ti.com> # i2c/ov2569.c, am437x/am437x-vpfe.c and ti-vpe/cal.c Tested-by: Hans Verkuil <hans.verkuil@cisco.com> # Atmel sama5d3 board + ov2640 sensor Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
048ea05b4f
commit
859969b38e
@@ -787,7 +787,6 @@ struct v4l2_subdev_platform_data {
|
||||
* is attached.
|
||||
* @devnode: subdev device node
|
||||
* @dev: pointer to the physical device, if any
|
||||
* @of_node: The device_node of the subdev, usually the same as dev->of_node.
|
||||
* @fwnode: The fwnode_handle of the subdev, usually the same as
|
||||
* either dev->of_node->fwnode or dev->fwnode (whichever is non-NULL).
|
||||
* @async_list: Links this subdev to a global subdev_list or @notifier->done
|
||||
@@ -820,7 +819,6 @@ struct v4l2_subdev {
|
||||
void *host_priv;
|
||||
struct video_device *devnode;
|
||||
struct device *dev;
|
||||
struct device_node *of_node;
|
||||
struct fwnode_handle *fwnode;
|
||||
struct list_head async_list;
|
||||
struct v4l2_async_subdev *asd;
|
||||
|
||||
Reference in New Issue
Block a user