[PATCH] CLKDEV: Add helper routines to allocate and add clkdevs for given struct clk *

Viresh Kumar viresh.kumar at st.com
Mon Apr 16 06:58:19 EDT 2012


On 4/16/2012 4:26 PM, Domenico Andreoli wrote:
>> > If you're going to abuse the interface by passing a NULL clk_lookup or
>> > num=0 then you deserve to get a big fat oops to tell you that you messed
>> > up.  Same for NULL dev_id and con_id above.
> I hope for a BUG_ON then.

Would be better if we place that in clkdev_alloc(), instead of this one.

-- 
viresh



More information about the linux-arm-kernel mailing list