]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: Replace all the clk based helpers with macros
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 11 Dec 2019 09:25:42 +0000 (11:25 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Dec 2019 11:19:38 +0000 (19:19 +0800)
commita5a1ab7bd74decd08fd102ad5d5f448ee7023a15
tree9b1dd89880bca3fa431f3bfcf10e386612c09657
parent00c1fc41d6e8d1b87f4861be128ddcc9cfeb7295
clk: imx: Replace all the clk based helpers with macros

Replacing with macros all the clk based API helpers we reduce the code
duplication. The end goal is to get rid of all these macros when there
will be no more users of the clk based API, that is, when all the i.MX
clock provider drivers will be switched completely to the clk_hw based
API.

This is another step in moving away from the non clk_hw based API usage
throughout the i.MX clock drivers. The reason for doing that is to
have a clear split between the clock provider and the clock consumer API.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk.h