[U-Boot] [PATCH] dm: rtc: Fix function name in comment

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Nov 25 19:58:21 UTC 2018


On 11/25/18 7:32 PM, Philipp Tomsich wrote:
> The documentation comment for dm_rtc_set was referring to dm_rtc_put
> instead. Fix it.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
> 
>  include/rtc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/rtc.h b/include/rtc.h
> index 0d964d5..2c3a574 100644
> --- a/include/rtc.h
> +++ b/include/rtc.h
> @@ -86,7 +86,7 @@ struct rtc_ops {
>  int dm_rtc_get(struct udevice *dev, struct rtc_time *time);
>  
>  /**
> - * dm_rtc_put() - Write a time to an RTC
> + * dm_rtc_set() - Write a time to an RTC
>   *
>   * @dev:	Device to read from
>   * @time:	Time to write into the RTC
> 
Reviewed by: Heinrich Schuchardt <xypron.glpk at gmx.de>


More information about the U-Boot mailing list