lkml.org 
[lkml]   [2015]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V3 1/2 linux-next] cpufreq: pxa: replace typedef pxa_freqs_t by structure
From
On 1 May 2015 at 14:04, Fabian Frederick <fabf@skynet.be> wrote:
> typedef is not really useful here. Replace it by structure
> to improve readability. typedef should only be used in some cases.
> (See Documentation/CodingStyle Chapter 5 for details).
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
> Compiled but untested.
>
> V3: -constify arrays(patch 2) (suggested by Joe Perches)
> -fix typo in changelog (thanks to Viresh Kumar)
> V2: -verbose changelog.
>
> drivers/cpufreq/pxa2xx-cpufreq.c | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)

For both patches:

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>


\
 
 \ /
  Last update: 2015-05-01 17:41    [W:0.034 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site