summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sysfs.c
diff options
context:
space:
mode:
authorWitold Szczeponik <Witold.Szczeponik@gmx.net>2011-10-27 20:56:47 +0200
committerLen Brown <len.brown@intel.com>2011-11-06 20:13:55 -0500
commit18fd470a48396c8795ba7256c5973e92ffa25cb3 (patch)
tree68cb3b94c29a75039040d83531b132b6cfdbcdf4 /drivers/acpi/sysfs.c
parentc3b92c8787367a8bb53d57d9789b558f1295cc96 (diff)
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 'drivers/acpi/sysfs.c')
0 files changed, 0 insertions, 0 deletions