diff options
author | Witold Szczeponik <Witold.Szczeponik@gmx.net> | 2011-10-27 20:56:47 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-11-06 20:13:55 -0500 |
commit | 18fd470a48396c8795ba7256c5973e92ffa25cb3 (patch) | |
tree | 68cb3b94c29a75039040d83531b132b6cfdbcdf4 /net/llc | |
parent | c3b92c8787367a8bb53d57d9789b558f1295cc96 (diff) | |
download | op-kernel-dev-18fd470a48396c8795ba7256c5973e92ffa25cb3.zip op-kernel-dev-18fd470a48396c8795ba7256c5973e92ffa25cb3.tar.gz |
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 <Witold.Szczeponik@gmx.net>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions