From: Alexander Beregalov <a.beregalov@gmail.com>
To: ak@linux.intel.com, lenb@kernel.org, linux-acpi@vger.kernel.org,
yakui.zhao@intel.com, shaohua.li@intel.com, rui.zhang@intel.com
Subject: [PATCH] ACPI: no more users of acpi_is_child_device
Date: Sat, 30 Aug 2008 02:01:59 +0400 [thread overview]
Message-ID: <20080829220159.GA1257@orion> (raw)
The only use of acpi_is_child_device() was removed by
ba2058572ac27e3a8a0ca570dab0cf70b210cdb1
(ACPI : Load device driver according to the status of acpi device)
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
drivers/acpi/scan.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 78e164f..ca23f10 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1131,20 +1131,6 @@ static int acpi_bus_remove(struct acpi_device *dev, int rmdevice)
}
static int
-acpi_is_child_device(struct acpi_device *device,
- int (*matcher)(struct acpi_device *))
-{
- int result = -ENODEV;
-
- do {
- if (ACPI_SUCCESS(matcher(device)))
- return AE_OK;
- } while ((device = device->parent));
-
- return result;
-}
-
-static int
acpi_add_single_object(struct acpi_device **child,
struct acpi_device *parent, acpi_handle handle, int type,
struct acpi_bus_ops *ops)
reply other threads:[~2008-08-29 22:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080829220159.GA1257@orion \
--to=a.beregalov@gmail.com \
--cc=ak@linux.intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=shaohua.li@intel.com \
--cc=yakui.zhao@intel.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