diff mbox

[3/5] PCI: hotplug: remove acpi_bus_generate_proc_event

Message ID 1346630607.3170.31.camel@offbook
State Not Applicable
Headers show

Commit Message

Davidlohr Bueso Sept. 3, 2012, 12:03 a.m. UTC
Calling this function no longer makes sense as /proc/acpi/event
is being removed.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 drivers/pci/hotplug/acpiphp_ibm.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Bjorn Helgaas Sept. 10, 2012, 10:54 p.m. UTC | #1
On Sun, Sep 2, 2012 at 6:03 PM, Davidlohr Bueso <dave@gnu.org> wrote:
> Calling this function no longer makes sense as /proc/acpi/event
> is being removed.
>
> Signed-off-by: Davidlohr Bueso <dave@gnu.org>

Acked-by: Bjorn Helgaas <bhelgaas@google.com>

I assume this series will be applied as a group somewhere other than
the PCI tree.  Let me know if you need me to do anything more than ack
this one.

> ---
>  drivers/pci/hotplug/acpiphp_ibm.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c
> index c35e8ad..5394fff 100644
> --- a/drivers/pci/hotplug/acpiphp_ibm.c
> +++ b/drivers/pci/hotplug/acpiphp_ibm.c
> @@ -270,7 +270,6 @@ static void ibm_handle_events(acpi_handle handle, u32 event, void *context)
>
>         if (subevent == 0x80) {
>                 dbg("%s: generationg bus event\n", __func__);
> -               acpi_bus_generate_proc_event(note->device, note->event, detail);
>                 acpi_bus_generate_netlink_event(note->device->pnp.device_class,
>                                                   dev_name(&note->device->dev),
>                                                   note->event, detail);
> --
> 1.7.4.1
>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c
index c35e8ad..5394fff 100644
--- a/drivers/pci/hotplug/acpiphp_ibm.c
+++ b/drivers/pci/hotplug/acpiphp_ibm.c
@@ -270,7 +270,6 @@  static void ibm_handle_events(acpi_handle handle, u32 event, void *context)
 
 	if (subevent == 0x80) {
 		dbg("%s: generationg bus event\n", __func__);
-		acpi_bus_generate_proc_event(note->device, note->event, detail);
 		acpi_bus_generate_netlink_event(note->device->pnp.device_class,
 						  dev_name(&note->device->dev),
 						  note->event, detail);