Skip to content

Commit 3e2ac97

Browse files
committed
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>
1 parent f910ce5 commit 3e2ac97

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

include/linux/devfreq.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,7 @@ int devfreq_resume_device(struct devfreq *devfreq);
228228
void devfreq_suspend(void);
229229
void devfreq_resume(void);
230230

231-
/**
232-
* update_devfreq() - Reevaluate the device and configure frequency
233-
* @devfreq: the devfreq device
234-
*
235-
* Note: devfreq->lock must be held
236-
*/
231+
/* update_devfreq() - Reevaluate the device and configure frequency */
237232
int update_devfreq(struct devfreq *devfreq);
238233

239234
/* Helper functions for devfreq user device driver with OPP. */

0 commit comments

Comments
 (0)