ACPI: button: remove control method/fixed hardware distinctions
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 8 Apr 2009 15:40:04 +0000 (15:40 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 11 Apr 2009 04:36:41 +0000 (00:36 -0400)
commitd68b597c883cf863c7216564cae08a4730d56cc1
tree3873a972f2f4725561472b1e4279ad0082ece553
parent106c19e7b978e1b84ea5cabbd470a0ddced577c8
ACPI: button: remove control method/fixed hardware distinctions

This patch removes the driver distinction between control method (CM)
and fixed hardware (FF) buttons.  We previously needed that so we
could install either a fixed event handler or a notify handler, but
the Linux/ACPI code now handles that for us, so we don't need to
worry about it.

Note that this removes the FF/CM annotation from the "info" files
in /proc.  For example,

    /proc/acpi/button/PWRF/info:
    -type: Power Button (FF)
    +type: Power Button

I don't think there's anything meaningful user-space can do by
knowing whether a button is a control method or a fixed hardware
button, so nobody should be looking at the FF/CM.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/button.c