Please consider this version of patch.
I've:
* cleaned up the points you have pointed at:
* * moved locks and list to genclk_ namespace
* * made them static
* * provided documentation for new API and a link to linux/clk.h
as a doc for implemented API
* reworked lockdep handling to be more clean and error-prone
* some small fixes
--
With best wishes
Dmitry
--
