lkml.org 
[lkml]   [2012]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 1/2] clk: use struct clk only for external API
From
On Wed, Nov 28, 2012 at 9:31 PM, viresh kumar <viresh.kumar@linaro.org> wrote:
> On Wed, Nov 28, 2012 at 5:22 PM, Rabin Vincent
> Isn't something wrong here? For common clk case shouldn't
> this be:
>
>> +#define clk_to_clk_core(clk) (&clk->clk)
>> +#define clk_core_to_clk(core) (container_of(clk, ...)) //not getting into the exact format here
>
> Sorry, if i am missing basics.

Ok. I saw these getting updated in 2/2. But it means this individual patch
is broken and this is not allowed i believe.

--
viresh


\
 
 \ /
  Last update: 2012-11-28 18:01    [W:0.256 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site