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)
Unified · Split
| @@ -228,12 +228,7 @@ int devfreq_resume_device(struct devfreq *devfreq); · 227 unmodified lines | ||
| 228 | 228 | void devfreq_suspend(void); |
| 229 | 229 | void devfreq_resume(void); |
| 230 | 230 | |
| 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 */ | |
| 237 | 232 | int update_devfreq(struct devfreq *devfreq); |
| 238 | 233 | |
| 239 | 234 | /* Helper functions for devfreq user device driver with OPP. */ |