From: Witold Szczeponik Date: Thu, 27 Oct 2011 18:56:47 +0000 (+0200) Subject: PNPACPI: Simplify disabled resource registration X-Git-Tag: v3.2-rc1~10^2~1^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18fd470a48396c8795ba7256c5973e92ffa25cb3;p=pandora-kernel.git PNPACPI: Simplify disabled resource registration The attached patch simplifies 29df8d8f8702f0f53c1375015f09f04bc8d023c1. As the "pnp_xxx" structs are not designed to cope with IORESOURCE_DISABLED, and hence no code can test for this value, setting this value is actually a "no op" and can be skipped altogether. It is sufficient to remove the checks for "empty" resources and continue processing. The patch is applied against 3.1. Signed-off-by: Witold Szczeponik Acked-by: Bjorn Helgaas Signed-off-by: Len Brown --- Reading git-diff-tree failed