summaryrefslogtreecommitdiff
path: root/include/rtc.h
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-11-25 19:32:54 +0100
committerSimon Glass <sjg@chromium.org>2018-12-05 06:06:44 -0700
commita4b33c5aba8cd155d5cf49eeaf7fce38a1965fc1 (patch)
tree1a3c25fa2701234deca7dca91a4125b09406ae8e /include/rtc.h
parentb11f12642f4da249d5f07bb45ba5ba9b01235818 (diff)
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>
Diffstat (limited to 'include/rtc.h')
-rw-r--r--include/rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtc.h b/include/rtc.h
index 0d964d56d5..2c3a5743e3 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