]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: remove redundant "handle" and "parent" arguments
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:29:05 +0000 (19:29 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 18:24:24 +0000 (14:24 -0400)
commit53256972399906a0ec3a98497cb9a8aa1f912a43
tree5036abad82e645ab99878fea41b96c93634efdd9
parentb7e2d0fa930405750308aa7fee647644149a7e84
ACPI: remove redundant "handle" and "parent" arguments

In several cases, functions take handle and parent device pointers in
addition to acpi_device pointers.  But the acpi_device structure contains
both the handle and the parent pointer, so it's pointless and error-prone
to pass them all.  This patch removes the unnecessary "handle" and "parent"
arguments.

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