Re: [PATCH 3/8] ideapad: make sure we bind on the correct device

From: Matthew Garrett
Date: Wed Aug 18 2010 - 09:34:11 EST


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.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/