[PATCH 25/29] video-output.txt: standardize document format

Mauro Carvalho Chehab mchehab at s-opensource.com
Thu May 18 18:26:09 PDT 2017


Each text file under Documentation follows a different
format. Some doesn't even have titles!

Change its representation to follow the adopted standard,
using ReST markups for it to be parseable by Sphinx:
- mark the title;
- mark the authorship;
- mark literal block.

Signed-off-by: Mauro Carvalho Chehab <mchehab at s-opensource.com>
---
 Documentation/video-output.txt | 54 +++++++++++++++++++++---------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/Documentation/video-output.txt b/Documentation/video-output.txt
index e517011be4f9..1f7d8cf7209b 100644
--- a/Documentation/video-output.txt
+++ b/Documentation/video-output.txt
@@ -1,34 +1,34 @@
+=============================
+Video Output Switcher Control
+=============================
 
-		Video Output Switcher Control
-		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-		2006 luming.yu at intel.com
+:Author: 2006 luming.yu at intel.com
 
 The output sysfs class driver provides an abstract video output layer that
 can be used to hook platform specific methods to enable/disable video output
 device through common sysfs interface. For example, on my IBM ThinkPad T42
 laptop, The ACPI video driver registered its output devices and read/write
-method for 'state' with output sysfs class. The user interface under sysfs is:
-
-linux:/sys/class/video_output # tree .
-.
-|-- CRT0
-|   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
-|   |-- state
-|   |-- subsystem -> ../../../class/video_output
-|   `-- uevent
-|-- DVI0
-|   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
-|   |-- state
-|   |-- subsystem -> ../../../class/video_output
-|   `-- uevent
-|-- LCD0
-|   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
-|   |-- state
-|   |-- subsystem -> ../../../class/video_output
-|   `-- uevent
-`-- TV0
-   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
-   |-- state
-   |-- subsystem -> ../../../class/video_output
-   `-- uevent
+method for 'state' with output sysfs class. The user interface under sysfs is::
 
+	linux:/sys/class/video_output # tree .
+	.
+	|-- CRT0
+	|   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+	|   |-- state
+	|   |-- subsystem -> ../../../class/video_output
+	|   `-- uevent
+	|-- DVI0
+	|   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+	|   |-- state
+	|   |-- subsystem -> ../../../class/video_output
+	|   `-- uevent
+	|-- LCD0
+	|   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+	|   |-- state
+	|   |-- subsystem -> ../../../class/video_output
+	|   `-- uevent
+	`-- TV0
+	   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+	   |-- state
+	   |-- subsystem -> ../../../class/video_output
+	   `-- uevent
-- 
2.9.4




More information about the linux-mtd mailing list