clk: move clock common macros out from vendor directories
authorChunyan Zhang <chunyan.zhang@spreadtrum.com>
Thu, 7 Dec 2017 12:57:04 +0000 (20:57 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 21 Dec 2017 23:00:38 +0000 (15:00 -0800)
commit1ded879e12310b1f8f81b1f84e293933a3b69f14
treea61e861703b0758e7443c743557811ee8fc76820
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
clk: move clock common macros out from vendor directories

These macros are used by more than one SoC vendor platforms, avoid to
have many copies of these code, this patch moves them to the common
header file which every clock drivers can access to.

Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sunxi-ng/ccu_common.h
drivers/clk/zte/clk.h
include/linux/clk-provider.h