summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorQinghuang Feng <s3c24xx@gmail.com>2008-10-13 12:05:04 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-29 23:03:49 +0100
commit65151365ad59af00e229d0fe33b4f1f9350c685f (patch)
treeec8f19633819ea06568ef32ffd795ae6e4fb5f11 /drivers/base
parentDocument kernel taint flags properly (diff)
downloadlinux-65151365ad59af00e229d0fe33b4f1f9350c685f.tar.xz
linux-65151365ad59af00e229d0fe33b4f1f9350c685f.zip
driver core: drivers/base/sys.c: update comments
There are no functions named sys_device_shutdown or sys_device_suspend in the kernel. They should be fixed to sysdev_shutdown and sysdev_suspend respectively. Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/sys.c b/drivers/base/sys.c
index 75dd6e22faff..3ca9c5e8d765 100644
--- a/drivers/base/sys.c
+++ b/drivers/base/sys.c
@@ -355,7 +355,7 @@ static void __sysdev_resume(struct sys_device *dev)
* sysdev_suspend - Suspend all system devices.
* @state: Power state to enter.
*
- * We perform an almost identical operation as sys_device_shutdown()
+ * We perform an almost identical operation as sysdev_shutdown()
* above, though calling ->suspend() instead. Interrupts are disabled
* when this called. Devices are responsible for both saving state and
* quiescing or powering down the device.
@@ -437,7 +437,7 @@ aux_driver:
/**
* sysdev_resume - Bring system devices back to life.
*
- * Similar to sys_device_suspend(), but we iterate the list forwards
+ * Similar to sysdev_suspend(), but we iterate the list forwards
* to guarantee that parent devices are resumed before their children.
*
* Note: Interrupts are disabled when called.