public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI: acpi_driver_data could only be applied to acpi_device
@ 2008-09-10 10:33 Alexey Starikovskiy
  2008-10-10 16:24 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Starikovskiy @ 2008-09-10 10:33 UTC (permalink / raw)
  To: LenBrown; +Cc: Linux-acpi

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
CC: Hannes Reinecke <hare@suse.de>

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
---

 drivers/acpi/scan.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index f6f52c1..e7b8853 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -384,7 +384,7 @@ static int acpi_device_remove(struct device * dev)
 			acpi_drv->ops.remove(acpi_dev, acpi_dev->removal_type);
 	}
 	acpi_dev->driver = NULL;
-	acpi_driver_data(dev) = NULL;
+	acpi_driver_data(acpi_dev) = NULL;
 
 	put_device(dev);
 	return 0;


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

* Re: [PATCH] ACPI: acpi_driver_data could only be applied to acpi_device
  2008-09-10 10:33 [PATCH] ACPI: acpi_driver_data could only be applied to acpi_device Alexey Starikovskiy
@ 2008-10-10 16:24 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2008-10-10 16:24 UTC (permalink / raw)
  To: Alexey Starikovskiy; +Cc: Linux-acpi

applied.

thanks,
-len

On Wed, 10 Sep 2008, Alexey Starikovskiy wrote:

> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
> CC: Hannes Reinecke <hare@suse.de>
> 
> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
> ---
> 
>  drivers/acpi/scan.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index f6f52c1..e7b8853 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -384,7 +384,7 @@ static int acpi_device_remove(struct device * dev)
>  			acpi_drv->ops.remove(acpi_dev, acpi_dev->removal_type);
>  	}
>  	acpi_dev->driver = NULL;
> -	acpi_driver_data(dev) = NULL;
> +	acpi_driver_data(acpi_dev) = NULL;
>  
>  	put_device(dev);
>  	return 0;
> 

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

end of thread, other threads:[~2008-10-10 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-10 10:33 [PATCH] ACPI: acpi_driver_data could only be applied to acpi_device Alexey Starikovskiy
2008-10-10 16:24 ` Len Brown

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