]> Git Repo - linux.git/commitdiff
PM / devfreq: remove a duplicated kernel-doc markup
authorMauro Carvalho Chehab <[email protected]>
Mon, 5 Oct 2020 08:58:18 +0000 (10:58 +0200)
committerMauro Carvalho Chehab <[email protected]>
Fri, 16 Oct 2020 05:28:20 +0000 (07:28 +0200)
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 <[email protected]>
include/linux/devfreq.h

index 2f4a74efa6bed31ef1bed9f3bbe32611393c3080..121a2430d7f7e9555f33b40e09ebe8bde610213c 100644 (file)
@@ -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. */
This page took 0.07263 seconds and 4 git commands to generate.