public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] cpuidle: remove unused exports
@ 2007-10-29 12:49 Adrian Bunk
  2007-10-29 21:25 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-10-29 12:49 UTC (permalink / raw)
  To: Venkatesh Pallipadi, Len Brown; +Cc: linux-kernel

This patch removes the following unused exports:
- cpuidle_devices
- cpuidle_register_governor
- cpuidle_unregister_governor

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/cpuidle/cpuidle.c  |    1 -
 drivers/cpuidle/governor.c |    3 ---
 2 files changed, 4 deletions(-)

d2197cfe905506ff95f6acd1ee6a6cd933419fdf 
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
index fdf4106..d2fabe7 100644
--- a/drivers/cpuidle/cpuidle.c
+++ b/drivers/cpuidle/cpuidle.c
@@ -19,7 +19,6 @@
 #include "cpuidle.h"
 
 DEFINE_PER_CPU(struct cpuidle_device *, cpuidle_devices);
-EXPORT_PER_CPU_SYMBOL_GPL(cpuidle_devices);
 
 DEFINE_MUTEX(cpuidle_lock);
 LIST_HEAD(cpuidle_detected_devices);
diff --git a/drivers/cpuidle/governor.c b/drivers/cpuidle/governor.c
index bb699cb..70b5964 100644
--- a/drivers/cpuidle/governor.c
+++ b/drivers/cpuidle/governor.c
@@ -94,8 +94,6 @@ int cpuidle_register_governor(struct cpuidle_governor *gov)
 	return ret;
 }
 
-EXPORT_SYMBOL_GPL(cpuidle_register_governor);
-
 /**
  * cpuidle_replace_governor - find a replacement governor
  * @exclude_rating: the rating that will be skipped while looking for
@@ -138,4 +136,3 @@ void cpuidle_unregister_governor(struct cpuidle_governor *gov)
 	mutex_unlock(&cpuidle_lock);
 }
 
-EXPORT_SYMBOL_GPL(cpuidle_unregister_governor);


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

* Re: [2.6 patch] cpuidle: remove unused exports
  2007-10-29 12:49 [2.6 patch] cpuidle: remove unused exports Adrian Bunk
@ 2007-10-29 21:25 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2007-10-29 21:25 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Venkatesh Pallipadi, linux-kernel

Applied.

thanks,
-Len

On Monday 29 October 2007 08:49, Adrian Bunk wrote:
> This patch removes the following unused exports:
> - cpuidle_devices
> - cpuidle_register_governor
> - cpuidle_unregister_governor
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> 
>  drivers/cpuidle/cpuidle.c  |    1 -
>  drivers/cpuidle/governor.c |    3 ---
>  2 files changed, 4 deletions(-)
> 
> d2197cfe905506ff95f6acd1ee6a6cd933419fdf 
> diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
> index fdf4106..d2fabe7 100644
> --- a/drivers/cpuidle/cpuidle.c
> +++ b/drivers/cpuidle/cpuidle.c
> @@ -19,7 +19,6 @@
>  #include "cpuidle.h"
>  
>  DEFINE_PER_CPU(struct cpuidle_device *, cpuidle_devices);
> -EXPORT_PER_CPU_SYMBOL_GPL(cpuidle_devices);
>  
>  DEFINE_MUTEX(cpuidle_lock);
>  LIST_HEAD(cpuidle_detected_devices);
> diff --git a/drivers/cpuidle/governor.c b/drivers/cpuidle/governor.c
> index bb699cb..70b5964 100644
> --- a/drivers/cpuidle/governor.c
> +++ b/drivers/cpuidle/governor.c
> @@ -94,8 +94,6 @@ int cpuidle_register_governor(struct cpuidle_governor *gov)
>  	return ret;
>  }
>  
> -EXPORT_SYMBOL_GPL(cpuidle_register_governor);
> -
>  /**
>   * cpuidle_replace_governor - find a replacement governor
>   * @exclude_rating: the rating that will be skipped while looking for
> @@ -138,4 +136,3 @@ void cpuidle_unregister_governor(struct cpuidle_governor *gov)
>  	mutex_unlock(&cpuidle_lock);
>  }
>  
> -EXPORT_SYMBOL_GPL(cpuidle_unregister_governor);
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

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

end of thread, other threads:[~2007-10-29 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 12:49 [2.6 patch] cpuidle: remove unused exports Adrian Bunk
2007-10-29 21:25 ` Len Brown

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