summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-05-17 07:59:01 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-06-20 23:18:05 +0300
commita8fdbefd75f660b471112d7d0bf583adf78f5c34 (patch)
treef4abd21745eafbd14f7e4bf4b5c4c0433a6b21d4 /drivers/rtc
parentbcae59d0d45b866d5b9525ea8ece6d671e6767c8 (diff)
downloadlinux-a8fdbefd75f660b471112d7d0bf583adf78f5c34.tar.xz
rtc: sysfs: Correct kerneldoc function name hctosys_show()
Fix the following make W=1 kernel build warning: drivers/rtc/sysfs.c:115: warning: expecting prototype for rtc_sysfs_show_hctosys(). Prototype was for hctosys_show() instead Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210517045901.3461800-1-yangyingliang@huawei.com
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/sysfs.c b/drivers/rtc/sysfs.c
index 74026f67fdfb..00f1945bcb7e 100644
--- a/drivers/rtc/sysfs.c
+++ b/drivers/rtc/sysfs.c
@@ -102,7 +102,7 @@ max_user_freq_store(struct device *dev, struct device_attribute *attr,
static DEVICE_ATTR_RW(max_user_freq);
/**
- * rtc_sysfs_show_hctosys - indicate if the given RTC set the system time
+ * hctosys_show - indicate if the given RTC set the system time
* @dev: The device that the attribute belongs to.
* @attr: The attribute being read.
* @buf: The result buffer.