[PATCH] clk: fix clk_get_rate() documentation

Simon Glass sjg at chromium.org
Sat Feb 13 05:17:13 CET 2021


On Fri, 12 Feb 2021 at 18:17, Giulio Benetti
<giulio.benetti at benettiengineering.com> wrote:
>
> On 2/13/21 12:25 AM, Sean Anderson wrote:
> > On 2/10/21 12:37 PM, Giulio Benetti wrote:
> >> clk_get_rate() can't and doesn't return -ve on error, it actually returns 0
> >> on error or a value greater than 0 on success. So let's fix its
> >> documentation.
> >>
> >> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> >> ---
> >>    include/clk.h | 2 +-
> >>    1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list