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

The documentation comment for dm_rtc_set was referring to dm_rtc_put instead. Fix it.
Signed-off-by: Philipp Tomsich philipp.tomsich@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

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@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@gmx.de

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@theobroma-systems.com
include/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm/master, thanks!
participants (3)
-
Heinrich Schuchardt
-
Philipp Tomsich
-
sjg@google.com