ACPI: button: remove button->device pointer
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 8 Apr 2009 15:39:59 +0000 (15:39 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 11 Apr 2009 04:36:40 +0000 (00:36 -0400)
commit106c19e7b978e1b84ea5cabbd470a0ddced577c8
treeeb3cbc966392a2cfa6b891397cb071e545c6980d
parentbf04a77227db76f163bc2355ef4e176794987be2
ACPI: button: remove button->device pointer

We no longer need a pointer from struct acpi_button back to the
struct acpi_device.  Everywhere we used that pointer, we either
already have, or can easily get, the acpi_device pointer without
using the copy from acpi_button.  So this patch removes the
structure element.

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