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
228void devfreq_suspend(void);228void devfreq_suspend(void);
229void devfreq_resume(void);229void devfreq_resume(void);
230 230
231/**231/* update_devfreq() - Reevaluate the device and configure frequency */
232 * update_devfreq() - Reevaluate the device and configure frequency
233 * @devfreq: the devfreq device
234 *
235 * Note: devfreq->lock must be held
236 */
237int update_devfreq(struct devfreq *devfreq);232int update_devfreq(struct devfreq *devfreq);
238 233
239/* Helper functions for devfreq user device driver with OPP. */234/* Helper functions for devfreq user device driver with OPP. */