Skip to content
Commit 9e578f63 authored by Giulio Benetti's avatar Giulio Benetti Committed by Sean Anderson
Browse files

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: default avatarGiulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: default avatarSean Anderson <seanga2@gmail.com>
parent ade37460
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment