Skip to content
Commit 18fd470a authored by Witold Szczeponik's avatar Witold Szczeponik Committed by Len Brown
Browse files

PNPACPI: Simplify disabled resource registration



The attached patch simplifies 29df8d8f.  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: default avatarWitold Szczeponik <Witold.Szczeponik@gmx.net>
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c3b92c87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment