diff options
| author | Chen-Yu Tsai <wens@csie.org> | 2016-01-25 21:15:42 +0800 |
|---|---|---|
| committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-01-27 18:57:37 +0100 |
| commit | cfa63688603398e8de4315cd626f81516c88a4c4 (patch) | |
| tree | 7d843d522ef2ff0046b99cd1b46f8cd1be57f1b9 /tools/perf/scripts/python/netdev-times.py | |
| parent | clk: sunxi: factors: Add unregister function (diff) | |
| download | linux-cfa63688603398e8de4315cd626f81516c88a4c4.tar.gz 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 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
