* [PATCH 217/493] acpi: remove use of __devinit
[not found] <1353349642-3677-1-git-send-email-wfp5p@virginia.edu>
@ 2012-11-19 18:22 ` Bill Pemberton
2012-11-21 0:46 ` Rafael J. Wysocki
2012-11-19 18:25 ` [PATCH 387/493] acpi: remove use of __devexit Bill Pemberton
1 sibling, 1 reply; 11+ messages in thread
From: Bill Pemberton @ 2012-11-19 18:22 UTC (permalink / raw)
To: gregkh; +Cc: linux-acpi
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: linux-acpi@vger.kernel.org
---
drivers/acpi/apei/ghes.c | 2 +-
drivers/acpi/hed.c | 2 +-
drivers/acpi/pci_root.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index 1599566..73bca11 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -901,7 +901,7 @@ static unsigned long ghes_esource_prealloc_size(
return prealloc_size;
}
-static int __devinit ghes_probe(struct platform_device *ghes_dev)
+static int ghes_probe(struct platform_device *ghes_dev)
{
struct acpi_hest_generic *generic;
struct ghes *ghes = NULL;
diff --git a/drivers/acpi/hed.c b/drivers/acpi/hed.c
index 20a0f2c..0ec28a3 100644
--- a/drivers/acpi/hed.c
+++ b/drivers/acpi/hed.c
@@ -61,7 +61,7 @@ static void acpi_hed_notify(struct acpi_device *device, u32 event)
blocking_notifier_call_chain(&acpi_hed_notify_list, 0, NULL);
}
-static int __devinit acpi_hed_add(struct acpi_device *device)
+static int acpi_hed_add(struct acpi_device *device)
{
/* Only one hardware error device */
if (hed_handle)
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index ab781f0..7928d4d 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -445,7 +445,7 @@ out:
}
EXPORT_SYMBOL(acpi_pci_osc_control_set);
-static int __devinit acpi_pci_root_add(struct acpi_device *device)
+static int acpi_pci_root_add(struct acpi_device *device)
{
unsigned long long segment, bus;
acpi_status status;
--
1.8.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 387/493] acpi: remove use of __devexit
[not found] <1353349642-3677-1-git-send-email-wfp5p@virginia.edu>
2012-11-19 18:22 ` [PATCH 217/493] acpi: remove use of __devinit Bill Pemberton
@ 2012-11-19 18:25 ` Bill Pemberton
2012-11-21 0:46 ` Rafael J. Wysocki
1 sibling, 1 reply; 11+ messages in thread
From: Bill Pemberton @ 2012-11-19 18:25 UTC (permalink / raw)
To: gregkh; +Cc: linux-acpi
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: linux-acpi@vger.kernel.org
---
drivers/acpi/apei/ghes.c | 2 +-
drivers/acpi/hed.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index 73bca11..7ae2750 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -994,7 +994,7 @@ err:
return rc;
}
-static int __devexit ghes_remove(struct platform_device *ghes_dev)
+static int ghes_remove(struct platform_device *ghes_dev)
{
struct ghes *ghes;
struct acpi_hest_generic *generic;
diff --git a/drivers/acpi/hed.c b/drivers/acpi/hed.c
index 0ec28a3..a0cc796 100644
--- a/drivers/acpi/hed.c
+++ b/drivers/acpi/hed.c
@@ -70,7 +70,7 @@ static int acpi_hed_add(struct acpi_device *device)
return 0;
}
-static int __devexit acpi_hed_remove(struct acpi_device *device, int type)
+static int acpi_hed_remove(struct acpi_device *device, int type)
{
hed_handle = NULL;
return 0;
--
1.8.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 387/493] acpi: remove use of __devexit
2012-11-19 18:25 ` [PATCH 387/493] acpi: remove use of __devexit Bill Pemberton
@ 2012-11-21 0:46 ` Rafael J. Wysocki
0 siblings, 0 replies; 11+ messages in thread
From: Rafael J. Wysocki @ 2012-11-21 0:46 UTC (permalink / raw)
To: Bill Pemberton; +Cc: gregkh, linux-acpi
On Monday, November 19, 2012 01:25:36 PM Bill Pemberton wrote:
> CONFIG_HOTPLUG is going away as an option so __devexit is no
> longer needed.
Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
Thanks,
Rafael
> Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
> Cc: linux-acpi@vger.kernel.org
> ---
> drivers/acpi/apei/ghes.c | 2 +-
> drivers/acpi/hed.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index 73bca11..7ae2750 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -994,7 +994,7 @@ err:
> return rc;
> }
>
> -static int __devexit ghes_remove(struct platform_device *ghes_dev)
> +static int ghes_remove(struct platform_device *ghes_dev)
> {
> struct ghes *ghes;
> struct acpi_hest_generic *generic;
> diff --git a/drivers/acpi/hed.c b/drivers/acpi/hed.c
> index 0ec28a3..a0cc796 100644
> --- a/drivers/acpi/hed.c
> +++ b/drivers/acpi/hed.c
> @@ -70,7 +70,7 @@ static int acpi_hed_add(struct acpi_device *device)
> return 0;
> }
>
> -static int __devexit acpi_hed_remove(struct acpi_device *device, int type)
> +static int acpi_hed_remove(struct acpi_device *device, int type)
> {
> hed_handle = NULL;
> return 0;
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-19 18:22 ` [PATCH 217/493] acpi: remove use of __devinit Bill Pemberton
@ 2012-11-21 0:46 ` Rafael J. Wysocki
2012-11-22 0:18 ` Rafael J. Wysocki
0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2012-11-21 0:46 UTC (permalink / raw)
To: Bill Pemberton; +Cc: gregkh, linux-acpi
On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> needed.
Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
Thanks,
Rafael
> Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
> Cc: linux-acpi@vger.kernel.org
> ---
> drivers/acpi/apei/ghes.c | 2 +-
> drivers/acpi/hed.c | 2 +-
> drivers/acpi/pci_root.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index 1599566..73bca11 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -901,7 +901,7 @@ static unsigned long ghes_esource_prealloc_size(
> return prealloc_size;
> }
>
> -static int __devinit ghes_probe(struct platform_device *ghes_dev)
> +static int ghes_probe(struct platform_device *ghes_dev)
> {
> struct acpi_hest_generic *generic;
> struct ghes *ghes = NULL;
> diff --git a/drivers/acpi/hed.c b/drivers/acpi/hed.c
> index 20a0f2c..0ec28a3 100644
> --- a/drivers/acpi/hed.c
> +++ b/drivers/acpi/hed.c
> @@ -61,7 +61,7 @@ static void acpi_hed_notify(struct acpi_device *device, u32 event)
> blocking_notifier_call_chain(&acpi_hed_notify_list, 0, NULL);
> }
>
> -static int __devinit acpi_hed_add(struct acpi_device *device)
> +static int acpi_hed_add(struct acpi_device *device)
> {
> /* Only one hardware error device */
> if (hed_handle)
> diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
> index ab781f0..7928d4d 100644
> --- a/drivers/acpi/pci_root.c
> +++ b/drivers/acpi/pci_root.c
> @@ -445,7 +445,7 @@ out:
> }
> EXPORT_SYMBOL(acpi_pci_osc_control_set);
>
> -static int __devinit acpi_pci_root_add(struct acpi_device *device)
> +static int acpi_pci_root_add(struct acpi_device *device)
> {
> unsigned long long segment, bus;
> acpi_status status;
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-21 0:46 ` Rafael J. Wysocki
@ 2012-11-22 0:18 ` Rafael J. Wysocki
2012-11-28 19:00 ` Greg KH
0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2012-11-22 0:18 UTC (permalink / raw)
To: Bill Pemberton; +Cc: gregkh, linux-acpi
On Wednesday, November 21, 2012 01:46:36 AM Rafael J. Wysocki wrote:
> On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > needed.
>
> Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in
acpi_pci_root_add() in my tree.
Thanks,
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-22 0:18 ` Rafael J. Wysocki
@ 2012-11-28 19:00 ` Greg KH
2012-11-28 19:34 ` Rafael J. Wysocki
0 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2012-11-28 19:00 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Bill Pemberton, linux-acpi
On Thu, Nov 22, 2012 at 01:18:09AM +0100, Rafael J. Wysocki wrote:
> On Wednesday, November 21, 2012 01:46:36 AM Rafael J. Wysocki wrote:
> > On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > > needed.
> >
> > Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
>
> And dropped, because it causes build problems to happen in
> acpi_pci_root_add() in my tree.
What kind of problems? If CONFIG_HOTPLUG is enabled __devinit defines
away to nothing, so this shouldn't have broken anything.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-28 19:00 ` Greg KH
@ 2012-11-28 19:34 ` Rafael J. Wysocki
2012-11-28 19:38 ` Greg KH
2012-11-28 19:56 ` Bill Pemberton
0 siblings, 2 replies; 11+ messages in thread
From: Rafael J. Wysocki @ 2012-11-28 19:34 UTC (permalink / raw)
To: Greg KH; +Cc: Bill Pemberton, linux-acpi
On Wednesday, November 28, 2012 11:00:02 AM Greg KH wrote:
> On Thu, Nov 22, 2012 at 01:18:09AM +0100, Rafael J. Wysocki wrote:
> > On Wednesday, November 21, 2012 01:46:36 AM Rafael J. Wysocki wrote:
> > > On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> > > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > > > needed.
> > >
> > > Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
> >
> > And dropped, because it causes build problems to happen in
> > acpi_pci_root_add() in my tree.
>
> What kind of problems? If CONFIG_HOTPLUG is enabled __devinit defines
> away to nothing, so this shouldn't have broken anything.
It did, because there's a dependency on PCI, so I would need to merge
the PCI patch along with the ACPI one, but I couldn't find the PCI
one, so I dropped the ACPI one too.
And the fact that the author doesn't seem to care is not encouraging.
Thanks,
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-28 19:34 ` Rafael J. Wysocki
@ 2012-11-28 19:38 ` Greg KH
2012-11-28 20:08 ` Rafael J. Wysocki
2012-11-28 19:56 ` Bill Pemberton
1 sibling, 1 reply; 11+ messages in thread
From: Greg KH @ 2012-11-28 19:38 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Bill Pemberton, linux-acpi
On Wed, Nov 28, 2012 at 08:34:43PM +0100, Rafael J. Wysocki wrote:
> On Wednesday, November 28, 2012 11:00:02 AM Greg KH wrote:
> > On Thu, Nov 22, 2012 at 01:18:09AM +0100, Rafael J. Wysocki wrote:
> > > On Wednesday, November 21, 2012 01:46:36 AM Rafael J. Wysocki wrote:
> > > > On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> > > > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > > > > needed.
> > > >
> > > > Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
> > >
> > > And dropped, because it causes build problems to happen in
> > > acpi_pci_root_add() in my tree.
> >
> > What kind of problems? If CONFIG_HOTPLUG is enabled __devinit defines
> > away to nothing, so this shouldn't have broken anything.
>
> It did, because there's a dependency on PCI, so I would need to merge
> the PCI patch along with the ACPI one, but I couldn't find the PCI
> one, so I dropped the ACPI one too.
Ah, ok, that makes sense. I will be including the PCI ones in my tree
soon, once I get Bjorn's ack.
> And the fact that the author doesn't seem to care is not encouraging.
He does, he's just swamped with real-work at the moment :(
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-28 19:34 ` Rafael J. Wysocki
2012-11-28 19:38 ` Greg KH
@ 2012-11-28 19:56 ` Bill Pemberton
1 sibling, 0 replies; 11+ messages in thread
From: Bill Pemberton @ 2012-11-28 19:56 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Greg KH, linux-acpi
Rafael J. Wysocki writes:
>
> On Wednesday, November 28, 2012 11:00:02 AM Greg KH wrote:
> > On Thu, Nov 22, 2012 at 01:18:09AM +0100, Rafael J. Wysocki wrote:
> > > On Wednesday, November 21, 2012 01:46:36 AM Rafael J. Wysocki wrote:
> > > > On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> > > > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > > > > needed.
> > > >
> > > > Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
> > >
> > > And dropped, because it causes build problems to happen in
> > > acpi_pci_root_add() in my tree.
> >
> > What kind of problems? If CONFIG_HOTPLUG is enabled __devinit defines
> > away to nothing, so this shouldn't have broken anything.
>
> It did, because there's a dependency on PCI, so I would need to merge
> the PCI patch along with the ACPI one, but I couldn't find the PCI
> one, so I dropped the ACPI one too.
>
> And the fact that the author doesn't seem to care is not encouraging.
>
What? Of course I care. I've been trying to address the problems as
they come up. I apparently didn't jump on this particular one.
--
Bill
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-28 19:38 ` Greg KH
@ 2012-11-28 20:08 ` Rafael J. Wysocki
2012-11-28 20:47 ` Greg KH
0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2012-11-28 20:08 UTC (permalink / raw)
To: Greg KH; +Cc: Bill Pemberton, linux-acpi
On Wednesday, November 28, 2012 11:38:24 AM Greg KH wrote:
> On Wed, Nov 28, 2012 at 08:34:43PM +0100, Rafael J. Wysocki wrote:
> > On Wednesday, November 28, 2012 11:00:02 AM Greg KH wrote:
> > > On Thu, Nov 22, 2012 at 01:18:09AM +0100, Rafael J. Wysocki wrote:
> > > > On Wednesday, November 21, 2012 01:46:36 AM Rafael J. Wysocki wrote:
> > > > > On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> > > > > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > > > > > needed.
> > > > >
> > > > > Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
> > > >
> > > > And dropped, because it causes build problems to happen in
> > > > acpi_pci_root_add() in my tree.
> > >
> > > What kind of problems? If CONFIG_HOTPLUG is enabled __devinit defines
> > > away to nothing, so this shouldn't have broken anything.
> >
> > It did, because there's a dependency on PCI, so I would need to merge
> > the PCI patch along with the ACPI one, but I couldn't find the PCI
> > one, so I dropped the ACPI one too.
>
> Ah, ok, that makes sense. I will be including the PCI ones in my tree
> soon, once I get Bjorn's ack.
So perhaps you can take this one too? :-)
Please regard it as acked.
Thanks,
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 217/493] acpi: remove use of __devinit
2012-11-28 20:08 ` Rafael J. Wysocki
@ 2012-11-28 20:47 ` Greg KH
0 siblings, 0 replies; 11+ messages in thread
From: Greg KH @ 2012-11-28 20:47 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Bill Pemberton, linux-acpi
On Wed, Nov 28, 2012 at 09:08:56PM +0100, Rafael J. Wysocki wrote:
> On Wednesday, November 28, 2012 11:38:24 AM Greg KH wrote:
> > On Wed, Nov 28, 2012 at 08:34:43PM +0100, Rafael J. Wysocki wrote:
> > > On Wednesday, November 28, 2012 11:00:02 AM Greg KH wrote:
> > > > On Thu, Nov 22, 2012 at 01:18:09AM +0100, Rafael J. Wysocki wrote:
> > > > > On Wednesday, November 21, 2012 01:46:36 AM Rafael J. Wysocki wrote:
> > > > > > On Monday, November 19, 2012 01:22:46 PM Bill Pemberton wrote:
> > > > > > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > > > > > > needed.
> > > > > >
> > > > > > Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
> > > > >
> > > > > And dropped, because it causes build problems to happen in
> > > > > acpi_pci_root_add() in my tree.
> > > >
> > > > What kind of problems? If CONFIG_HOTPLUG is enabled __devinit defines
> > > > away to nothing, so this shouldn't have broken anything.
> > >
> > > It did, because there's a dependency on PCI, so I would need to merge
> > > the PCI patch along with the ACPI one, but I couldn't find the PCI
> > > one, so I dropped the ACPI one too.
> >
> > Ah, ok, that makes sense. I will be including the PCI ones in my tree
> > soon, once I get Bjorn's ack.
>
> So perhaps you can take this one too? :-)
I will be glad to do so.
> Please regard it as acked.
Thanks, will do.
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-11-28 20:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1353349642-3677-1-git-send-email-wfp5p@virginia.edu>
2012-11-19 18:22 ` [PATCH 217/493] acpi: remove use of __devinit Bill Pemberton
2012-11-21 0:46 ` Rafael J. Wysocki
2012-11-22 0:18 ` Rafael J. Wysocki
2012-11-28 19:00 ` Greg KH
2012-11-28 19:34 ` Rafael J. Wysocki
2012-11-28 19:38 ` Greg KH
2012-11-28 20:08 ` Rafael J. Wysocki
2012-11-28 20:47 ` Greg KH
2012-11-28 19:56 ` Bill Pemberton
2012-11-19 18:25 ` [PATCH 387/493] acpi: remove use of __devexit Bill Pemberton
2012-11-21 0:46 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox