Add patches accepted for 2.6.26-rc1
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / releases / upstream / 2.6.26-rc1 / 0011-ACPI-thinkpad-acpi-use-uppercase-for-LED-on-user.patch
blob14f0fdfff0c50d683a8aa5ae10c2ec9611bda88e
1 From 65807cc284dd291b024dd6e55de88feb16b4230a Mon Sep 17 00:00:00 2001
2 From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
3 Date: Sat, 26 Apr 2008 01:02:26 -0300
4 Subject: ACPI: thinkpad-acpi: use uppercase for "LED" on user documentation
6 Change all occourences of the "led" word to full uppercase in user
7 documentation.
9 Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
10 Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
11 Signed-off-by: Len Brown <len.brown@intel.com>
12 ---
13 Documentation/laptops/thinkpad-acpi.txt | 22 +++++++++++-----------
14 1 files changed, 11 insertions(+), 11 deletions(-)
16 diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt
17 index 73b80a7..947b726 100644
18 --- a/Documentation/laptops/thinkpad-acpi.txt
19 +++ b/Documentation/laptops/thinkpad-acpi.txt
20 @@ -697,7 +697,7 @@ ThinkLight control
21 ------------------
23 procfs: /proc/acpi/ibm/light
24 -sysfs attributes: as per led class, for the "tpacpi::thinklight" led
25 +sysfs attributes: as per LED class, for the "tpacpi::thinklight" LED
27 procfs notes:
29 @@ -710,11 +710,11 @@ status as "unknown". The available commands are:
31 sysfs notes:
33 -The ThinkLight sysfs interface is documented by the led class
34 -documentation, in Documentation/leds-class.txt. The ThinkLight led name
35 +The ThinkLight sysfs interface is documented by the LED class
36 +documentation, in Documentation/leds-class.txt. The ThinkLight LED name
37 is "tpacpi::thinklight".
39 -Due to limitations in the sysfs led class, if the status of the thinklight
40 +Due to limitations in the sysfs LED class, if the status of the thinklight
41 cannot be read or if it is unknown, thinkpad-acpi will report it as "off".
42 It is impossible to know if the status returned through sysfs is valid.
44 @@ -880,7 +880,7 @@ LED control
45 -----------
47 procfs: /proc/acpi/ibm/led
48 -sysfs attributes: as per led class, see below for names
49 +sysfs attributes: as per LED class, see below for names
51 Some of the LED indicators can be controlled through this feature. On
52 some older ThinkPad models, it is possible to query the status of the
53 @@ -891,11 +891,11 @@ procfs notes:
55 The available commands are:
57 - echo '<led number> on' >/proc/acpi/ibm/led
58 - echo '<led number> off' >/proc/acpi/ibm/led
59 - echo '<led number> blink' >/proc/acpi/ibm/led
60 + echo '<LED number> on' >/proc/acpi/ibm/led
61 + echo '<LED number> off' >/proc/acpi/ibm/led
62 + echo '<LED number> blink' >/proc/acpi/ibm/led
64 -The <led number> range is 0 to 7. The set of LEDs that can be
65 +The <LED number> range is 0 to 7. The set of LEDs that can be
66 controlled varies from model to model. Here is the common ThinkPad
67 mapping:
69 @@ -912,7 +912,7 @@ All of the above can be turned on and off and can be made to blink.
71 sysfs notes:
73 -The ThinkPad LED sysfs interface is described in detail by the led class
74 +The ThinkPad LED sysfs interface is described in detail by the LED class
75 documentation, in Documentation/leds-class.txt.
77 The leds are named (in LED ID order, from 0 to 7):
78 @@ -920,7 +920,7 @@ The leds are named (in LED ID order, from 0 to 7):
79 "tpacpi::dock_active", "tpacpi::bay_active", "tpacpi::dock_batt",
80 "tpacpi::unknown_led", "tpacpi::standby".
82 -Due to limitations in the sysfs led class, if the status of the LED
83 +Due to limitations in the sysfs LED class, if the status of the LED
84 indicators cannot be read due to an error, thinkpad-acpi will report it as
85 a brightness of zero (same as LED off).
87 --
88 1.5.4.4