summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorGiulio Benetti <[email protected]>2021-02-14 03:17:18 +0100
committerSean Anderson <[email protected]>2021-12-15 12:16:15 -0500
commit9e578f6340ba3f4324cd823872afe6eda39857d2 (patch)
tree33eb1b5ad07ec50f8c3a86f663ab344244100759 /scripts/const_structs.checkpatch
parentade37460a944aed36ae6ee634c4d4a9a22690461 (diff)
clk: fix clk_get_rate() documentation
Improve clk_get_rate() @return documentation that otherwise is a bit ambiguous. At the moment I expect to return 0 as error since the return type is 'ulong', instead the function really returns negative value in case the corresponding function pointer is null and returns 0 if the clock is invalid. Signed-off-by: Giulio Benetti <[email protected]> Reviewed-by: Sean Anderson <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions