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

Viresh Kumar viresh.kumar at st.com
Mon Apr 16 23:40:14 EDT 2012


On 4/17/2012 2:42 AM, s.hauer at pengutronix.de wrote:
>>> > > Can we drop the 'single' in the name? Otherwise it's quite a long
>>> > > function name. I think name clk_register_clkdev makes it clear already
>>> > > that we only register a single clkdev.
>> > 
>> > clkdev_register?
> Maybe even this. I just though that it might be too easy to confuse with
> clkdev_add (In fact I think clkdev_register would be a good name for
> what clkdev_add currently does, but it's probably not worth the churn
> changing this).

I will keep clk_register_clkdev() and clk_register_clkdevs().

-- 
viresh



More information about the linux-arm-kernel mailing list