lkml.org 
[lkml]   [2013]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/11] ARM: timer-sp: convert to use CLKSRC_OF init
On Thu, Mar 21, 2013 at 09:31:01PM -0500, Rob Herring wrote:
> Perhaps re-writing it like this would be more clear:
>
> if (irq_num == 2){
> __sp804_clockevents_init(base + TIMER_2_BASE, irq, clk1, name);
> __sp804_clocksource_and_sched_clock_init(base, name, clk0, 1);
> } else {
> __sp804_clockevents_init(base, irq, clk0, name);
> __sp804_clocksource_and_sched_clock_init(base + TIMER_2_BASE,
> name, clk1, 1);
> }

Yes, that is definitely much clearer than the original patch.


\
 
 \ /
  Last update: 2013-03-22 13:01    [W:0.041 / U:1.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site