]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: rtc: Fix function name in comment
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 25 Nov 2018 18:32:54 +0000 (19:32 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:06:44 +0000 (06:06 -0700)
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

index 0d964d56d5b1c208c3692f2efc778d7309c85357..2c3a5743e301e0ffbdfc48331828eee7cf4ed678 100644 (file)
@@ -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