public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make coretemp_device_remove() static
@ 2007-07-05 23:23 Adrian Bunk
  2007-07-07 19:22 ` [lm-sensors] " Jean Delvare
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-07-05 23:23 UTC (permalink / raw)
  To: r.marek; +Cc: lm-sensors, mhoffman, linux-kernel

coretemp_device_remove() can become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c.old	2007-07-04 20:46:05.000000000 +0200
+++ linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c	2007-07-04 20:46:20.000000000 +0200
@@ -318,7 +318,7 @@
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-void coretemp_device_remove(unsigned int cpu)
+static void coretemp_device_remove(unsigned int cpu)
 {
 	struct pdev_entry *p, *n;
 	mutex_lock(&pdev_list_mutex);


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

* Re: [lm-sensors] [2.6 patch] make coretemp_device_remove() static
  2007-07-05 23:23 [2.6 patch] make coretemp_device_remove() static Adrian Bunk
@ 2007-07-07 19:22 ` Jean Delvare
  2007-07-08 13:39   ` Mark M. Hoffman
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2007-07-07 19:22 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: r.marek, mhoffman, linux-kernel, lm-sensors

Hi Adrian,

On Fri, 6 Jul 2007 01:23:06 +0200, Adrian Bunk wrote:
> coretemp_device_remove() can become static.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Obviously correct.

Acked-by: Jean Delvare <khali@linux-fr.org>

> ---
> --- linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c.old	2007-07-04 20:46:05.000000000 +0200
> +++ linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c	2007-07-04 20:46:20.000000000 +0200
> @@ -318,7 +318,7 @@
>  }
>  
>  #ifdef CONFIG_HOTPLUG_CPU
> -void coretemp_device_remove(unsigned int cpu)
> +static void coretemp_device_remove(unsigned int cpu)
>  {
>  	struct pdev_entry *p, *n;
>  	mutex_lock(&pdev_list_mutex);

Thanks,
-- 
Jean Delvare

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

* Re: [lm-sensors] [2.6 patch] make coretemp_device_remove() static
  2007-07-07 19:22 ` [lm-sensors] " Jean Delvare
@ 2007-07-08 13:39   ` Mark M. Hoffman
  0 siblings, 0 replies; 3+ messages in thread
From: Mark M. Hoffman @ 2007-07-08 13:39 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Adrian Bunk, r.marek, linux-kernel, lm-sensors

Hi Jean, Adrian:

* Jean Delvare <khali@linux-fr.org> [2007-07-07 21:22:28 +0200]:
> Hi Adrian,
> 
> On Fri, 6 Jul 2007 01:23:06 +0200, Adrian Bunk wrote:
> > coretemp_device_remove() can become static.
> > 
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> Obviously correct.
> 
> Acked-by: Jean Delvare <khali@linux-fr.org>
> 
> > ---
> > --- linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c.old	2007-07-04 20:46:05.000000000 +0200
> > +++ linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c	2007-07-04 20:46:20.000000000 +0200
> > @@ -318,7 +318,7 @@
> >  }
> >  
> >  #ifdef CONFIG_HOTPLUG_CPU
> > -void coretemp_device_remove(unsigned int cpu)
> > +static void coretemp_device_remove(unsigned int cpu)
> >  {
> >  	struct pdev_entry *p, *n;
> >  	mutex_lock(&pdev_list_mutex);

Applied to my testing tree; thanks.

-- 
Mark M. Hoffman
mhoffman@lightlink.com


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

end of thread, other threads:[~2007-07-08 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 23:23 [2.6 patch] make coretemp_device_remove() static Adrian Bunk
2007-07-07 19:22 ` [lm-sensors] " Jean Delvare
2007-07-08 13:39   ` Mark M. Hoffman

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