]> git.dujemihanovic.xyz Git - u-boot.git/commit
CLK: ARC: HSDK: avoid code duplication
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Thu, 7 May 2020 13:59:54 +0000 (16:59 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 13 May 2020 15:09:25 +0000 (18:09 +0300)
commit46d295f362587524e95bef81cf880d3dff602fcd
tree6c8fc4025b2943e437ab29a5e3a64a3b32f4d4a3
parent10bca13ea6d9d4b85f80f02c8795227f63240f59
CLK: ARC: HSDK: avoid code duplication

hsdk_axi_clk_cfg and hsdk_tun_clk_cfg clock divider structures
and functions for their processing are almost the same so
merge them to avoid code duplication.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
drivers/clk/clk-hsdk-cgu.c