aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDinh Nguyen <[email protected]>2015-06-05 11:26:13 -0500
committerStephen Boyd <[email protected]>2015-06-05 18:10:33 -0700
commit2e61dfb3602b904966491f260f62c01b9895936a (patch)
treea0fe78e4fdb27cc74aa3920a4c996ec2a3be700e /scripts/gdb/linux/utils.py
parentd3000d0d4a2b326a3b98df53b53adcd3beead72e (diff)
clk: of: helper for filling parent clock array and return num of parents
Sprinkled all through the platform clock drivers are code like this to fill the clock parent array: for (i = 0; i < num_parents; ++i) parent_names[i] = of_clk_get_parent_name(np, i); The of_clk_parent_fill() will do the same as the code above, and while at it, return the number of parents as well since the logic of the function is to the walk the clock node to look for the parent. Signed-off-by: Dinh Nguyen <[email protected]> [[email protected]: Fixed kernel-doc] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions