diff mbox

[1/1] cpufreq: exynos: Remove unwanted EXPORT_SYMBOL

Message ID 1384775486-31660-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Sachin Kamat Nov. 18, 2013, 11:51 a.m. UTC
The init functions are linked statically (no support for
dynamic loading) and have no other users. Hence remove
EXPORT_SYMBOL for these functions.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/cpufreq/exynos4210-cpufreq.c |    1 -
 drivers/cpufreq/exynos4x12-cpufreq.c |    1 -
 drivers/cpufreq/exynos5250-cpufreq.c |    1 -
 3 files changed, 3 deletions(-)

Comments

Viresh Kumar Nov. 18, 2013, 2:44 p.m. UTC | #1
On 18 November 2013 17:21, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> The init functions are linked statically (no support for
> dynamic loading) and have no other users. Hence remove
> EXPORT_SYMBOL for these functions.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/cpufreq/exynos4210-cpufreq.c |    1 -
>  drivers/cpufreq/exynos4x12-cpufreq.c |    1 -
>  drivers/cpufreq/exynos5250-cpufreq.c |    1 -
>  3 files changed, 3 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rafael J. Wysocki Nov. 21, 2013, 12:55 a.m. UTC | #2
On Monday, November 18, 2013 08:14:57 PM Viresh Kumar wrote:
> On 18 November 2013 17:21, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> > The init functions are linked statically (no support for
> > dynamic loading) and have no other users. Hence remove
> > EXPORT_SYMBOL for these functions.
> >
> > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> > ---
> >  drivers/cpufreq/exynos4210-cpufreq.c |    1 -
> >  drivers/cpufreq/exynos4x12-cpufreq.c |    1 -
> >  drivers/cpufreq/exynos5250-cpufreq.c |    1 -
> >  3 files changed, 3 deletions(-)
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Queued up for the next PM pull request.

Thanks!
diff mbox

Patch

diff --git a/drivers/cpufreq/exynos4210-cpufreq.c b/drivers/cpufreq/exynos4210-cpufreq.c
index f2c75065ce19..dfd1643b0b2f 100644
--- a/drivers/cpufreq/exynos4210-cpufreq.c
+++ b/drivers/cpufreq/exynos4210-cpufreq.c
@@ -157,4 +157,3 @@  err_moutcore:
 	pr_debug("%s: failed initialization\n", __func__);
 	return -EINVAL;
 }
-EXPORT_SYMBOL(exynos4210_cpufreq_init);
diff --git a/drivers/cpufreq/exynos4x12-cpufreq.c b/drivers/cpufreq/exynos4x12-cpufreq.c
index 8683304ce62c..efad5e657f6f 100644
--- a/drivers/cpufreq/exynos4x12-cpufreq.c
+++ b/drivers/cpufreq/exynos4x12-cpufreq.c
@@ -211,4 +211,3 @@  err_moutcore:
 	pr_debug("%s: failed initialization\n", __func__);
 	return -EINVAL;
 }
-EXPORT_SYMBOL(exynos4x12_cpufreq_init);
diff --git a/drivers/cpufreq/exynos5250-cpufreq.c b/drivers/cpufreq/exynos5250-cpufreq.c
index 9fae466d7746..8feda86fe42c 100644
--- a/drivers/cpufreq/exynos5250-cpufreq.c
+++ b/drivers/cpufreq/exynos5250-cpufreq.c
@@ -236,4 +236,3 @@  err_moutcore:
 	pr_err("%s: failed initialization\n", __func__);
 	return -EINVAL;
 }
-EXPORT_SYMBOL(exynos5250_cpufreq_init);