diff mbox

[1/1] cpufreq: exynos: Fix line over 80 characters warning

Message ID 1384837639-9252-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State Rejected, archived
Headers show

Commit Message

Sachin Kamat Nov. 19, 2013, 5:07 a.m. UTC
Silences the checkpatch warning introduced by
commit 94aa44090eda ("cpufreq: exynos: Add missing static").

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jonghwan Choi <jhbird.choi@samsung.com>
---
 drivers/cpufreq/exynos5250-cpufreq.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Viresh Kumar Nov. 19, 2013, 5:11 a.m. UTC | #1
On 19 November 2013 10:37, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Silences the checkpatch warning introduced by
> commit 94aa44090eda ("cpufreq: exynos: Add missing static").
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Jonghwan Choi <jhbird.choi@samsung.com>
> ---
>  drivers/cpufreq/exynos5250-cpufreq.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

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:54 a.m. UTC | #2
On Tuesday, November 19, 2013 10:37:19 AM Sachin Kamat wrote:
> Silences the checkpatch warning introduced by
> commit 94aa44090eda ("cpufreq: exynos: Add missing static").
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Jonghwan Choi <jhbird.choi@samsung.com>

I'm not going to apply this and seriously if you care, please modify
checkpatch.pl to stop emitting that warning.  It is silly and useless in
my opinion, so I won't take any patches "fixing" it.

Thanks!
Sachin Kamat Nov. 21, 2013, 2:58 a.m. UTC | #3
On 21 November 2013 06:24, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> On Tuesday, November 19, 2013 10:37:19 AM Sachin Kamat wrote:
>> Silences the checkpatch warning introduced by
>> commit 94aa44090eda ("cpufreq: exynos: Add missing static").
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> Cc: Jonghwan Choi <jhbird.choi@samsung.com>
>
> I'm not going to apply this and seriously if you care, please modify
> checkpatch.pl to stop emitting that warning.  It is silly and useless in
> my opinion, so I won't take any patches "fixing" it.

Agreed. However, the cpufreq drivers are pretty clean already and
this one just stands out. That was the only reason for doing this.
diff mbox

Patch

diff --git a/drivers/cpufreq/exynos5250-cpufreq.c b/drivers/cpufreq/exynos5250-cpufreq.c
index 8feda86fe42c..ebbcbb7e1926 100644
--- a/drivers/cpufreq/exynos5250-cpufreq.c
+++ b/drivers/cpufreq/exynos5250-cpufreq.c
@@ -144,7 +144,8 @@  static void set_apll(unsigned int new_index,
 
 }
 
-static bool exynos5250_pms_change(unsigned int old_index, unsigned int new_index)
+static bool exynos5250_pms_change(unsigned int old_index,
+				  unsigned int new_index)
 {
 	unsigned int old_pm = apll_freq_5250[old_index].mps >> 8;
 	unsigned int new_pm = apll_freq_5250[new_index].mps >> 8;