public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Thomas Renninger <trenn@suse.de>
Cc: linux-acpi <linux-acpi@vger.kernel.org>,
	Christian Birchinger <joker@netswarm.net>,
	"Li, Shaohua" <shaohua.li@intel.com>, Len Brown <lenb@kernel.org>,
	ibm-acpi-devel <ibm-acpi-devel@lists.sourceforge.net>
Subject: Re: [PATCH 1/2] Export a func to find the corresponding PCI bus:seg.func of an ACPI device
Date: Mon, 15 Oct 2007 17:48:17 +0100	[thread overview]
Message-ID: <20071015164816.GA5021@srcf.ucam.org> (raw)
In-Reply-To: <1192465985.9847.585.camel@queen.suse.de>

Why not just call acpi_get_pyhsical_device() on the appropriate handle 
and look at the struct device you get back? Remember to put_device() it 
once you're done.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2007-10-15 16:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 16:33 [PATCH 1/2] Export a func to find the corresponding PCI bus:seg.func of an ACPI device Thomas Renninger
2007-10-15 16:48 ` Matthew Garrett [this message]
2007-10-16  1:12   ` Shaohua Li
2007-10-16 14:39   ` [PATCH 1/1] Recent Lenovo ThinkPads define a dummy grahpics device, find it and ignore it Thomas Renninger
2007-10-16 14:43     ` Thomas Renninger
2007-10-16 14:49     ` Matthew Garrett
     [not found]       ` <20071016144901.GB21749-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2007-10-16 15:11         ` Thomas Renninger

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=20071015164816.GA5021@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=joker@netswarm.net \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=shaohua.li@intel.com \
    --cc=trenn@suse.de \
    /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