diff mbox

[V2] cpufreq: exynos: Show a list of available frequencies

Message ID 00a301cec935$786cf7e0$6946e7a0$%lee@samsung.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

??? Oct. 14, 2013, 11:31 p.m. UTC
This patch adds freq_attr to show a list of exynos5440 scaling
available frequencies through sysfs. Common exynos driver already
supports this attribute.

Signed-off-by: Jungseok Lee <jays.lee@samsung.com>
---
Changes since v1:
- Used a generic attribute, not a specific one.

 drivers/cpufreq/exynos5440-cpufreq.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Viresh Kumar Oct. 21, 2013, 7:30 a.m. UTC | #1
On 15 October 2013 05:01, Jungseok Lee <jays.lee@samsung.com> wrote:
> This patch adds freq_attr to show a list of exynos5440 scaling
> available frequencies through sysfs. Common exynos driver already
> supports this attribute.
>
> Signed-off-by: Jungseok Lee <jays.lee@samsung.com>
> ---
> Changes since v1:
> - Used a generic attribute, not a specific one.
>
>  drivers/cpufreq/exynos5440-cpufreq.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c
> index 06b73e8..fecc3da 100644
> --- a/drivers/cpufreq/exynos5440-cpufreq.c
> +++ b/drivers/cpufreq/exynos5440-cpufreq.c
> @@ -330,6 +330,7 @@ static struct cpufreq_driver exynos_driver = {
>         .init           = exynos_cpufreq_cpu_init,
>         .exit           = cpufreq_generic_exit,
>         .name           = CPUFREQ_NAME,
> +       .attr           = cpufreq_generic_attr,
>  };
>
>  static const struct of_device_id exynos_cpufreq_match[] = {

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
diff mbox

Patch

diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c
index 06b73e8..fecc3da 100644
--- a/drivers/cpufreq/exynos5440-cpufreq.c
+++ b/drivers/cpufreq/exynos5440-cpufreq.c
@@ -330,6 +330,7 @@  static struct cpufreq_driver exynos_driver = {
 	.init		= exynos_cpufreq_cpu_init,
 	.exit		= cpufreq_generic_exit,
 	.name		= CPUFREQ_NAME,
+	.attr		= cpufreq_generic_attr,
 };
 
 static const struct of_device_id exynos_cpufreq_match[] = {