mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@suse.de>
To: linux-kernel@vger.kernel.org
Cc: Qinghuang Feng <s3c24xx@gmail.com>,
	Qinghuang Feng <qhfeng.kernel@gmail.com>,
	Greg Kroah-Hartman <gregkh@suse.de>
Subject: [PATCH 2/6] driver core: drivers/base/sys.c: update comments
Date: Wed, 29 Oct 2008 15:58:08 -0700	[thread overview]
Message-ID: <1225321092-21933-2-git-send-email-gregkh@suse.de> (raw)
In-Reply-To: <20081029223824.GB21657@kroah.com>

From: Qinghuang Feng <s3c24xx@gmail.com>

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>
---
 drivers/base/sys.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/sys.c b/drivers/base/sys.c
index 75dd6e2..3ca9c5e 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.
-- 
1.6.0.2


  parent reply	other threads:[~2008-10-29 23:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29 22:38 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
2008-10-29 22:58 ` [PATCH 1/6] Document kernel taint flags properly Greg Kroah-Hartman
2008-10-29 22:58 ` Greg Kroah-Hartman [this message]
2008-10-29 22:58 ` [PATCH 3/6] sysfs: Fix return values for sysdev_store_{ulong,int} Greg Kroah-Hartman
2008-10-29 22:58 ` [PATCH 4/6] Update stable tree documentation Greg Kroah-Hartman
2008-10-29 22:58 ` [PATCH 5/6] HOWTO: Sync patch for jp_JP/HOWTO Greg Kroah-Hartman
2008-10-29 22:58 ` [PATCH 6/6] Driver core: fix 'dynamic_debug' cmd line parameter Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1225321092-21933-2-git-send-email-gregkh@suse.de \
    --to=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=qhfeng.kernel@gmail.com \
    --cc=s3c24xx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®