On Wed, Jun 15, 2011 at 03:34:40PM +0530, Thomas Abraham wrote:
> Ok. Thanks for clarifying this point. In this case, maybe we could use
> the clk_add_alias API. With this API, we can have a instance of clock
> by name 'fimd' and then create a clkdev alias by name 'lcd' in the
> machine code. The driver can then continue to lookup with 'lcd' as the
> con_id.

That's additional needless complexity.  If you don't embed the clk_lookup
structure in your struct clk but list out the dev/con/clk stuff separately
like OMAP does, you can easily assign the dev/con pairs to multiple
clks without hastle - and then it really doesn't matter what the clk
itself is called.
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to