History

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)

Mauro Carvalho Chehab committed 6 years ago

Commit 3e2ac971 parent f910ce51 file · +1 −6Browse files

Unified · Split

include/linux/devfreq.h+1−6
@@ -228,12 +228,7 @@ int devfreq_resume_device(struct devfreq *devfreq); · 227 unmodified lines
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. */