aboutsummaryrefslogtreecommitdiff
path: root/Documentation/serial/driver
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-12-07 11:36:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-15 21:52:23 -0800
commit6f538fe31c1d453b7e7fc4f6e7c6a9bdead4a6f2 (patch)
treeb8655469788e0961782706761c1628c80a957860 /Documentation/serial/driver
parentfdbc7353e45d78ea8ee4a0cdc9e2700035a3a77d (diff)
tty: serial core: decouple pm states from ACPI
The serial core is using power states lifted from ACPI for no good reason. Remove this reference from the documentation and alter all users to use an enum specific to the serial core instead, and define it in <linux/serial_core.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Alan Cox <alan@linux.intel.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/serial/driver')
-rw-r--r--Documentation/serial/driver5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver
index 0a25a919186..a6ef8dc436f 100644
--- a/Documentation/serial/driver
+++ b/Documentation/serial/driver
@@ -242,9 +242,8 @@ hardware.
pm(port,state,oldstate)
Perform any power management related activities on the specified
- port. State indicates the new state (defined by ACPI D0-D3),
- oldstate indicates the previous state. Essentially, D0 means
- fully on, D3 means powered down.
+ port. State indicates the new state (defined by
+ enum uart_pm_state), oldstate indicates the previous state.
This function should not be used to grab any resources.