summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-a10-mod1.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-01-25 21:15:42 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-01-27 18:57:37 +0100
commitcfa63688603398e8de4315cd626f81516c88a4c4 (patch)
tree7d843d522ef2ff0046b99cd1b46f8cd1be57f1b9 /drivers/clk/sunxi/clk-a10-mod1.c
parent4cbeaebb8af1c86691d1a2d3328d82a01f4380a5 (diff)
downloadblackbird-op-linux-cfa63688603398e8de4315cd626f81516c88a4c4.tar.gz
blackbird-op-linux-cfa63688603398e8de4315cd626f81516c88a4c4.zip
clk: sunxi: factors: Consolidate get_factors parameters into a struct
The .get_factors callback of factors_clk has 6 parameters. To extend factors_clk in any way that requires adding parameters to .get_factors would make that list even longer, not to mention changing all the function declarations. Do this once now and consolidate all the parameters into a struct. Also drop the space before function pointer arguments, since checkpatch complains. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi/clk-a10-mod1.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud