Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: 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 <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

authored by

Sakari Ailus and committed by
Mauro Carvalho Chehab
8a3946ca a5c7caa1

+4 -1
+4 -1
drivers/media/v4l2-core/v4l2-fwnode.c
··· 828 828 * underneath the fwnode identified by the previous tuple, etc. until you 829 829 * reached the fwnode you need. 830 830 * 831 - * An example with a graph, as defined in Documentation/acpi/dsd/graph.txt: 831 + * THIS EXAMPLE EXISTS MERELY TO DOCUMENT THIS FUNCTION. DO NOT USE IT AS A 832 + * REFERENCE IN HOW ACPI TABLES SHOULD BE WRITTEN!! See documentation under 833 + * Documentation/acpi/dsd instead and especially graph.txt, 834 + * data-node-references.txt and leds.txt . 832 835 * 833 836 * Scope (\_SB.PCI0.I2C2) 834 837 * {