ACPI: EC: remove .stop() method
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 22 Jun 2009 20:41:40 +0000 (20:41 +0000)
committerLen Brown <len.brown@intel.com>
Thu, 25 Jun 2009 16:16:33 +0000 (12:16 -0400)
commitcf745ec7a1222a661b2c5f0e8c2c4be81300d2a4
treeeabebf496f7c06bebb20137097ac956b601e71a7
parentd02be04707b8ff5375a76c027327e8708877da39
ACPI: EC: remove .stop() method

This patch folds the .stop() method into .remove().

acpi_ec_stop() is only called via acpi_device_probe() and
acpi_device_remove(), and in both cases it is called immediately before
acpi_ec_remove(), so there's no need to have it be a separate method.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Alex Chiang <achiang@hp.com>
CC: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c