aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilipp Tomsich2018-11-25 19:32:54 +0100
committerSimon Glass2018-12-05 06:06:44 -0700
commita4b33c5aba8cd155d5cf49eeaf7fce38a1965fc1 (patch)
tree1a3c25fa2701234deca7dca91a4125b09406ae8e /include
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')
-rw-r--r--include/rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtc.h b/include/rtc.h
index 0d964d56d5b..2c3a5743e30 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