On 08/18/2010 09:27 PM, Matthew Garrett wrote: > On Wed, Aug 18, 2010 at 04:37:33PM +0800, Ike Panhc wrote: >> By reading from method _STA and _CFG to make sure we bind on the correct >> VPC2004 device. > > I know some other drivers check _STA themselves, but it's unnecessary - > if _STA didn't evaluate appropriately, the bus driver won't create the > pnp object and there won't be anything for you to bind to in the first > place. > yes, you are right. when add, acpi_bus will check for it and tell if the device exist or not from its bits. -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
- [PATCH 0/8] [Resend] ideapad: using EC command to control ... Ike Panhc
- [PATCH 1/8] ideapad: add ACPI helpers Ike Panhc
- [PATCH 2/8] ideapad: check VPC bit before sync rfkill... Ike Panhc
- [PATCH 3/8] ideapad: make sure we bind on the correct... Ike Panhc
- Re: [PATCH 3/8] ideapad: make sure we bind on the... Matthew Garrett
- Re: [PATCH 3/8] ideapad: make sure we bind on... Ike Panhc
- [PATCH 4/8] ideapad: use return value of _CFG to tell... Ike Panhc
- [PATCH 5/8] ideapad: use EC command to control camera Ike Panhc
- Re: [PATCH 5/8] ideapad: use EC command to contro... Oliver Neukum
- [PATCH 6/8] ideapad: rewrite the hw rfkill notify Ike Panhc
- [PATCH 7/8] ideapad: rewrite the sw rfkill set Ike Panhc
- [PATCH 8/8] ideapad: Change the driver name to ideapa... Ike Panhc
- Re: [PATCH 8/8] ideapad: Change the driver name t... Len Brown
- Re: [PATCH 8/8] ideapad: Change the driver na... Corentin Chary
