v4l2-fwnode: Add a deprecation note in the old ACPI parsing example
Subsystems (2)
Sakari Ailus
maintainerPATCH 1/1 v4l2-fwnode: Add a deprecation note in the old ACPI parsing example
This is not how ACPI tables are written. Add a deprecation note and refer to the proper documentation.
Signed-off-by Sakari Ailus <[email protected]>
--- drivers/media/v4l2-core/v4l2-fwnode.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/media/v4l2-core/v4l2-fwnode.c +4 -1
@@ -828,7 +828,10 @@ static int v4l2_fwnode_reference_parse(struct device *dev,* underneath the fwnode identified by the previous tuple, etc. until you * reached the fwnode you need. * -* An example with a graph, as defined in Documentation/acpi/dsd/graph.txt: +* THIS EXAMPLE EXISTS MERELY TO DOCUMENT THIS FUNCTION. DO NOT USE IT AS A +* REFERENCE IN HOW ACPI TABLES SHOULD BE WRITTEN!! See documentation under +* Documentation/acpi/dsd instead and especially graph.txt, +* data-node-references.txt and leds.txt . * * Scope (\_SB.PCI0.I2C2) * {
Signature · 1 line
2.11.0