summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-10-05 11:58:18 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-10-16 08:28:20 +0300
commit3e2ac9798e13ad1f52d735ea2ea1d252cb140ae5 (patch)
tree33ad34602f29d2449428ab183cf7eb3f320bf2f4
parentf910ce5266cc632fe9b8339fed4b01f6b1f2431a (diff)
downloadlinux-3e2ac9798e13ad1f52d735ea2ea1d252cb140ae5.tar.xz
PM / devfreq: remove a duplicated kernel-doc markup
The update_devfreq() is also documented at devfreq.c, which has a more complete note. So, drop the duplicated markup, in order to avoid this warning: .../Documentation/driver-api/device_link.rst: WARNING: Duplicate C declaration, also defined in 'driver-api/infrastructure'. Declaration is 'device_link_state'. (and to cause a problem with cross-references to it) Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--include/linux/devfreq.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h
index 2f4a74efa6be..121a2430d7f7 100644
--- a/include/linux/devfreq.h
+++ b/include/linux/devfreq.h
@@ -228,12 +228,7 @@ int devfreq_resume_device(struct devfreq *devfreq);
void devfreq_suspend(void);
void devfreq_resume(void);
-/**
- * update_devfreq() - Reevaluate the device and configure frequency
- * @devfreq: the devfreq device
- *
- * Note: devfreq->lock must be held
- */
+/* update_devfreq() - Reevaluate the device and configure frequency */
int update_devfreq(struct devfreq *devfreq);
/* Helper functions for devfreq user device driver with OPP. */