Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-14 Thread Rob Herring
On 02/14/2013 12:45 AM, Michal Simek wrote: > 2013/2/14 Rob Herring : >> On 02/13/2013 11:33 AM, Michal Simek wrote: >>> 2013/2/13 Rob Herring : On 02/13/2013 10:21 AM, Michal Simek wrote: > 2013/2/7 Rob Herring : >> From: Rob Herring >> >>> One more thing. Is there any rule whi

Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-13 Thread Michal Simek
2013/2/14 Rob Herring : > On 02/13/2013 11:33 AM, Michal Simek wrote: >> 2013/2/13 Rob Herring : >>> On 02/13/2013 10:21 AM, Michal Simek wrote: 2013/2/7 Rob Herring : > From: Rob Herring > > In cases where we have multiple nodes of the same type, we may need the > node pointe

Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-13 Thread Rob Herring
On 02/13/2013 11:33 AM, Michal Simek wrote: > 2013/2/13 Rob Herring : >> On 02/13/2013 10:21 AM, Michal Simek wrote: >>> 2013/2/7 Rob Herring : From: Rob Herring In cases where we have multiple nodes of the same type, we may need the node pointer to know which node was matched.

Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-13 Thread Michal Simek
2013/2/13 Rob Herring : > On 02/13/2013 10:21 AM, Michal Simek wrote: >> 2013/2/7 Rob Herring : >>> From: Rob Herring >>> >>> In cases where we have multiple nodes of the same type, we may need the >>> node pointer to know which node was matched. Passing the node pointer >>> also keeps the init fu

Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-13 Thread Rob Herring
On 02/13/2013 10:21 AM, Michal Simek wrote: > 2013/2/7 Rob Herring : >> From: Rob Herring >> >> In cases where we have multiple nodes of the same type, we may need the >> node pointer to know which node was matched. Passing the node pointer >> also keeps the init function from having to match the

Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-13 Thread Michal Simek
2013/2/7 Rob Herring : > From: Rob Herring > > In cases where we have multiple nodes of the same type, we may need the > node pointer to know which node was matched. Passing the node pointer > also keeps the init function from having to match the node a 2nd time. > > Signed-off-by: Rob Herring >

[PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-07 Thread Rob Herring
From: Rob Herring In cases where we have multiple nodes of the same type, we may need the node pointer to know which node was matched. Passing the node pointer also keeps the init function from having to match the node a 2nd time. Signed-off-by: Rob Herring Cc: John Stultz Cc: Thomas Gleixner