diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-28 10:45:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 12:52:57 -0400 |
commit | 1a222bca26ca691e83be1b08f5e96ae96d0d8cae (patch) | |
tree | b9b09b285b5790ee8d38328cbffe289199abea94 /Documentation/driver-model | |
parent | c41455fbac06712992da491844449775cf9a8c80 (diff) |
[PATCH] Fix documentation of driver suspend/resume callbacks
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r-- | Documentation/driver-model/driver.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/driver-model/driver.txt b/Documentation/driver-model/driver.txt index 7c26bfae4ba0..59806c9761f7 100644 --- a/Documentation/driver-model/driver.txt +++ b/Documentation/driver-model/driver.txt | |||
@@ -14,8 +14,8 @@ struct device_driver { | |||
14 | int (*probe) (struct device * dev); | 14 | int (*probe) (struct device * dev); |
15 | int (*remove) (struct device * dev); | 15 | int (*remove) (struct device * dev); |
16 | 16 | ||
17 | int (*suspend) (struct device * dev, pm_message_t state, u32 level); | 17 | int (*suspend) (struct device * dev, pm_message_t state); |
18 | int (*resume) (struct device * dev, u32 level); | 18 | int (*resume) (struct device * dev); |
19 | }; | 19 | }; |
20 | 20 | ||
21 | 21 | ||
@@ -194,11 +194,11 @@ device; i.e. anything in the device's driver_data field. | |||
194 | If the device is still present, it should quiesce the device and place | 194 | If the device is still present, it should quiesce the device and place |
195 | it into a supported low-power state. | 195 | it into a supported low-power state. |
196 | 196 | ||
197 | int (*suspend) (struct device * dev, pm_message_t state, u32 level); | 197 | int (*suspend) (struct device * dev, pm_message_t state); |
198 | 198 | ||
199 | suspend is called to put the device in a low power state. | 199 | suspend is called to put the device in a low power state. |
200 | 200 | ||
201 | int (*resume) (struct device * dev, u32 level); | 201 | int (*resume) (struct device * dev); |
202 | 202 | ||
203 | Resume is used to bring a device back from a low power state. | 203 | Resume is used to bring a device back from a low power state. |
204 | 204 | ||