Skip to content

Commit

Permalink
clk: sunxi: mod0: improve function-level documentation
Browse files Browse the repository at this point in the history
Use the actual function name in the function documentation.

Issue detected using Coccinelle (http://coccinelle.lip6.fr/)

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Julia Lawall authored and Maxime Ripard committed Oct 16, 2016
1 parent 1001354 commit 35b1fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/sunxi/clk-mod0.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "clk-factors.h"

/**
* sun4i_get_mod0_factors() - calculates m, n factors for MOD0-style clocks
* sun4i_a10_get_mod0_factors() - calculates m, n factors for MOD0-style clocks
* MOD0 rate is calculated as follows
* rate = (parent_rate >> p) / (m + 1);
*/
Expand Down

0 comments on commit 35b1fc2

Please sign in to comment.