aboutsummaryrefslogtreecommitdiff
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-10-28 16:45:34 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 09:52:57 -0700
commit1a222bca26ca691e83be1b08f5e96ae96d0d8cae (patch)
treeb9b09b285b5790ee8d38328cbffe289199abea94 /Documentation/driver-model
parentc41455fbac06712992da491844449775cf9a8c80 (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.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/driver-model/driver.txt b/Documentation/driver-model/driver.txt
index 7c26bfae4ba..59806c9761f 100644
--- a/Documentation/driver-model/driver.txt
+++ b/Documentation/driver-model/driver.txt
@@ -14,8 +14,8 @@ struct device_driver {
int (*probe) (struct device * dev);
int (*remove) (struct device * dev);
- int (*suspend) (struct device * dev, pm_message_t state, u32 level);
- int (*resume) (struct device * dev, u32 level);
+ int (*suspend) (struct device * dev, pm_message_t state);
+ int (*resume) (struct device * dev);
};
@@ -194,11 +194,11 @@ device; i.e. anything in the device's driver_data field.
If the device is still present, it should quiesce the device and place
it into a supported low-power state.
- int (*suspend) (struct device * dev, pm_message_t state, u32 level);
+ int (*suspend) (struct device * dev, pm_message_t state);
suspend is called to put the device in a low power state.
- int (*resume) (struct device * dev, u32 level);
+ int (*resume) (struct device * dev);
Resume is used to bring a device back from a low power state.