Commit c5b4a1c1 authored by Nishanth Menon's avatar Nishanth Menon Committed by Rafael J. Wysocki

PM / devfreq: kernel-doc typo corrections

Parameter documentation needs a ':' for scripts/kernel-doc
to parse properly.

Minor fixes for ones warned by:
./scripts/kernel-doc -text drivers/devfreq/devfreq.c>/dev/null
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Acked-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Acked-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 7f98a905
...@@ -265,9 +265,9 @@ void devfreq_interval_update(struct devfreq *devfreq, unsigned int *delay) ...@@ -265,9 +265,9 @@ void devfreq_interval_update(struct devfreq *devfreq, unsigned int *delay)
/** /**
* devfreq_notifier_call() - Notify that the device frequency requirements * devfreq_notifier_call() - Notify that the device frequency requirements
* has been changed out of devfreq framework. * has been changed out of devfreq framework.
* @nb the notifier_block (supposed to be devfreq->nb) * @nb: the notifier_block (supposed to be devfreq->nb)
* @type not used * @type: not used
* @devp not used * @devp: not used
* *
* Called by a notifier that uses devfreq->nb. * Called by a notifier that uses devfreq->nb.
*/ */
...@@ -414,7 +414,7 @@ EXPORT_SYMBOL(devfreq_add_device); ...@@ -414,7 +414,7 @@ EXPORT_SYMBOL(devfreq_add_device);
/** /**
* devfreq_remove_device() - Remove devfreq feature from a device. * devfreq_remove_device() - Remove devfreq feature from a device.
* @devfreq the devfreq instance to be removed * @devfreq: the devfreq instance to be removed
*/ */
int devfreq_remove_device(struct devfreq *devfreq) int devfreq_remove_device(struct devfreq *devfreq)
{ {
...@@ -619,9 +619,9 @@ module_exit(devfreq_exit); ...@@ -619,9 +619,9 @@ module_exit(devfreq_exit);
/** /**
* devfreq_recommended_opp() - Helper function to get proper OPP for the * devfreq_recommended_opp() - Helper function to get proper OPP for the
* freq value given to target callback. * freq value given to target callback.
* @dev The devfreq user device. (parent of devfreq) * @dev: The devfreq user device. (parent of devfreq)
* @freq The frequency given to target function * @freq: The frequency given to target function
* @flags Flags handed from devfreq framework. * @flags: Flags handed from devfreq framework.
* *
*/ */
struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq, struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq,
...@@ -652,8 +652,8 @@ struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq, ...@@ -652,8 +652,8 @@ struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq,
* devfreq_register_opp_notifier() - Helper function to get devfreq notified * devfreq_register_opp_notifier() - Helper function to get devfreq notified
* for any changes in the OPP availability * for any changes in the OPP availability
* changes * changes
* @dev The devfreq user device. (parent of devfreq) * @dev: The devfreq user device. (parent of devfreq)
* @devfreq The devfreq object. * @devfreq: The devfreq object.
*/ */
int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq) int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq)
{ {
...@@ -668,8 +668,8 @@ int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq) ...@@ -668,8 +668,8 @@ int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq)
* devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq * devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq
* notified for any changes in the OPP * notified for any changes in the OPP
* availability changes anymore. * availability changes anymore.
* @dev The devfreq user device. (parent of devfreq) * @dev: The devfreq user device. (parent of devfreq)
* @devfreq The devfreq object. * @devfreq: The devfreq object.
* *
* At exit() callback of devfreq_dev_profile, this must be included if * At exit() callback of devfreq_dev_profile, this must be included if
* devfreq_recommended_opp is used. * devfreq_recommended_opp is used.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment