public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] ACPI: remove .start() and .stop() methods
@ 2009-06-19 21:31 Bjorn Helgaas
  2009-06-19 21:31 ` [PATCH 1/9] ACPI: memory hotplug: remove .start() method Bjorn Helgaas
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Bjorn Helgaas @ 2009-06-19 21:31 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi

These patches remove several .start() methods (by folding them into
.add() methods) and a .stop() method (by folding it into .remove()).
There are no remaining .stop() methods, so I also removed it from
the driver_ops structure.

This simplifies the ACPI driver structure and will make it easier to
support hotplug in the Linux/ACPI core.

I don't have a way to test most of these changes, unfortunately, so
I'd welcome any feedback or testing reports.

---

Bjorn Helgaas (9):
      ACPI: memory hotplug: remove .start() method
      ACPI: processor: clean up in acpi_processor_start() error exits
      ACPI: processor: emit "online" event in acpi_processor_start()
      ACPI: processor: move acpi_processor_start() after acpi_processor_add()
      ACPI: processor: remove .start() method
      ACPI: EC: move acpi_ec_start() after acpi_ec_add()
      ACPI: EC: remove .start() method
      ACPI: EC: remove .stop() method
      ACPI: remove unused acpi_device_ops .stop method


 drivers/acpi/acpi_memhotplug.c |   40 +++-----
 drivers/acpi/ec.c              |  118 ++++++++--------------
 drivers/acpi/processor_core.c  |  213 ++++++++++++++++++----------------------
 drivers/acpi/scan.c            |    5 -
 include/acpi/acpi_bus.h        |    2 
 5 files changed, 152 insertions(+), 226 deletions(-)

-- 
Bjorn

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/9 v2] ACPI: remove .start() and .stop() methods
@ 2009-06-22 20:40 Bjorn Helgaas
  2009-06-22 20:41 ` [PATCH 6/9] ACPI: EC: move acpi_ec_start() after acpi_ec_add() Bjorn Helgaas
  0 siblings, 1 reply; 11+ messages in thread
From: Bjorn Helgaas @ 2009-06-22 20:40 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi

From: Bjorn Helgaas <bjorn.helgaas@hp.com>

These patches remove several .start() methods (by folding them into
.add() methods) and a .stop() method (by folding it into .remove()).
There are no remaining .stop() methods, so I also removed it from
the driver_ops structure.

This simplifies the ACPI driver structure and will make it easier to
support hotplug in the Linux/ACPI core.

They also remove the KOBJ_ONLINE and KOBJ_OFFLINE events generated
by the processor driver for CPU hotplug events.  As far as I know,
these events are unused.

I don't have a way to test most of these changes, unfortunately, so
I'd welcome any feedback or testing reports.

These apply to the acpi-test branch.

---

Bjorn Helgaas (9):
      ACPI: processor: remove KOBJ_ONLINE/KOBJ_OFFLINE events
      ACPI: processor: clean up in acpi_processor_start() error exits
      ACPI: processor: move acpi_processor_start() after acpi_processor_add()
      ACPI: processor: remove .start() method
      ACPI: memory hotplug: remove .start() method
      ACPI: EC: move acpi_ec_start() after acpi_ec_add()
      ACPI: EC: remove .start() method
      ACPI: EC: remove .stop() method
      ACPI: remove unused acpi_device_ops .stop method


 drivers/acpi/acpi_memhotplug.c |   40 +++----
 drivers/acpi/ec.c              |  118 ++++++++--------------
 drivers/acpi/processor_core.c  |  219 +++++++++++++++++-----------------------
 drivers/acpi/scan.c            |    5 -
 include/acpi/acpi_bus.h        |    2 
 5 files changed, 153 insertions(+), 231 deletions(-)

-- 
Bjorn

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-06-22 20:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19 21:31 [PATCH 0/9] ACPI: remove .start() and .stop() methods Bjorn Helgaas
2009-06-19 21:31 ` [PATCH 1/9] ACPI: memory hotplug: remove .start() method Bjorn Helgaas
2009-06-19 21:31 ` [PATCH 2/9] ACPI: processor: clean up in acpi_processor_start() error exits Bjorn Helgaas
2009-06-19 21:31 ` [PATCH 3/9] ACPI: processor: emit "online" event in acpi_processor_start() Bjorn Helgaas
2009-06-19 21:31 ` [PATCH 4/9] ACPI: processor: move acpi_processor_start() after acpi_processor_add() Bjorn Helgaas
2009-06-19 21:31 ` [PATCH 5/9] ACPI: processor: remove .start() method Bjorn Helgaas
2009-06-19 21:32 ` [PATCH 6/9] ACPI: EC: move acpi_ec_start() after acpi_ec_add() Bjorn Helgaas
2009-06-19 21:32 ` [PATCH 7/9] ACPI: EC: remove .start() method Bjorn Helgaas
2009-06-19 21:32 ` [PATCH 8/9] ACPI: EC: remove .stop() method Bjorn Helgaas
2009-06-19 21:32 ` [PATCH 9/9] ACPI: remove unused acpi_device_ops .stop method Bjorn Helgaas
  -- strict thread matches above, loose matches on Subject: below --
2009-06-22 20:40 [PATCH 0/9 v2] ACPI: remove .start() and .stop() methods Bjorn Helgaas
2009-06-22 20:41 ` [PATCH 6/9] ACPI: EC: move acpi_ec_start() after acpi_ec_add() Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox