PM / devfreq: more documentation fixes
cover PM / devfreq: more documentation fixes
The following patches apply on top of
Rafael's pm-devfreq-next branch ongit://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
and introduced due to warnings of accepted patches. I dont seem to have the original emails in my mailbox anymore So apologies of not replying inline to the original patches. I have tried to provide link to the relevant patchworks link of the original patch if I could find them.
I hope we will keep the documentation clean ahead :)
Nishanth Menon (2):
PM / devfreq: more documentation warning fixes PM / devfreq: more documentation warning fixes next set
drivers/devfreq/devfreq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Regards,
Nishanth Menon
Signature · 1 line
1.7.9.5
PATCH 1/2 PM / devfreq: more documentation warning fixes
Commit 34b53237e9ceb141e13e846baed2a282461f4a01
(PM / devfreq: Add suspend and resume apis)
in Rafael's pm-devfreq-next branch ongit://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
Patchworks: https://patchwork.kernel.org/patch/1545791/
Warning(drivers/devfreq/devfreq.c:436): No description found for parameter 'devfreq' Warning(drivers/devfreq/devfreq.c:450): No description found for parameter 'devfreq'
Yet again, a missing ':' causes the kernel-doc to cry
Since it is not merged to upstream, I suggest squashing it
--- drivers/devfreq/devfreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/devfreq/devfreq.c +2 -2
@@ -430,7 +430,7 @@ EXPORT_SYMBOL(devfreq_remove_device);/** * devfreq_suspend_device() - Suspend devfreq of a device. -* @devfreq the devfreq instance to be suspended +* @devfreq: the devfreq instance to be suspended */ int devfreq_suspend_device (struct devfreq *devfreq) {
@@ -444,7 +444,7 @@ EXPORT_SYMBOL(devfreq_suspend_device);/** * devfreq_resume_device() - Resume devfreq of a device. -* @devfreq the devfreq instance to be resumed +* @devfreq: the devfreq instance to be resumed */ int devfreq_resume_device (struct devfreq *devfreq) {
Signature · 1 line
1.7.9.5
PATCH 2/2 PM / devfreq: more documentation warning fixes next set
In reply to Nishanth Menoncommit cfd5194aecd08cd8fbfbf1534a0209b95bc6fcdf
(PM / devfreq: Core updates to support devices which can idle) in Rafael's pm-devfreq-next branch ongit://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
Patchworks: https://patchwork.kernel.org/patch/1545751/
introduced a kernel documentation warning:
Warning(drivers/devfreq/devfreq.c:289): bad line: release its resources.
This is due to lack of '*' at documentation start messing up poor scripts/kernel-doc 's mind. I suggest squashing this to original commit given not-yet-upstream status :).
--- drivers/devfreq/devfreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/devfreq.c +1 -1
@@ -286,7 +286,7 @@ static int devfreq_notifier_call(struct notifier_block *nb, unsigned long type,/** * _remove_devfreq() - Remove devfreq from the devfreq list and -release its resources. +* release its resources. * @devfreq: the devfreq struct * @skip: skip calling device_unregister(). */
Signature · 1 line
1.7.9.5
Re: [for-next PATCH 1/2] PM / devfreq: more documentation warning fixes
In reply to Nishanth MenonQuoted 12 lines · Nishanth Menon
Commit
34b53237e9ceb141e13e846baed2a282461f4a01
(PM / devfreq: Add suspend and resume apis)
in Rafael's pm-devfreq-next branch ongit://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.gitPatchworks: https://patchwork.kernel.org/patch/1545791/
Warning(drivers/devfreq/devfreq.c:436): No description found for parameter 'devfreq' Warning(drivers/devfreq/devfreq.c:450): No description found for parameter 'devfreq'
Yet again, a missing ':' causes the kernel-doc to cry
Quoted 8 lines
Since it is not merged to upstream, I suggest squashing it
Cc Rajagopal Venkat <[email protected]>Cc MyungJoo Ham <[email protected]>Cc Rafael J. Wysocki <[email protected]>Cc Kyungmin Park <[email protected]>Signed-off-by Nishanth Menon <[email protected]>
I fixed up the original patch in a slightly different way.
Thanks,
Rafael
Quoted 27 lines
--- drivers/devfreq/devfreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/devfreq/devfreq.c +2
-2@@ -430,7 +430,7 @@ EXPORT_SYMBOL(devfreq_remove_device);/** * devfreq_suspend_device() - Suspend devfreq of a device. -* @devfreq the devfreq instance to be suspended +* @devfreq: the devfreq instance to be suspended */ int devfreq_suspend_device (struct devfreq *devfreq) {@@ -444,7 +444,7 @@ EXPORT_SYMBOL(devfreq_suspend_device);/** * devfreq_resume_device() - Resume devfreq of a device. -* @devfreq the devfreq instance to be resumed +* @devfreq: the devfreq instance to be resumed */ int devfreq_resume_device (struct devfreq *devfreq) {
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Re: [for-next PATCH 2/2] PM / devfreq: more documentation warning fixes next set
In reply to Nishanth MenonQuoted 14 lines · Nishanth Menon
commit
cfd5194aecd08cd8fbfbf1534a0209b95bc6fcdf
(PM / devfreq: Core updates to support devices which can idle) in Rafael's pm-devfreq-next branch ongit://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.gitPatchworks: https://patchwork.kernel.org/patch/1545751/
introduced a kernel documentation warning:
Warning(drivers/devfreq/devfreq.c:289): bad line: release its resources.This is due to lack of '*' at documentation start messing up poor
scripts/kernel-doc's mind. I suggest squashing this to original commit given not-yet-upstream status :).
Quoted 6 lines
Cc Rajagopal Venkat <[email protected]>Cc MyungJoo Ham <[email protected]>Cc Rafael J. Wysocki <[email protected]>Cc Kyungmin Park <[email protected]>Signed-off-by Nishanth Menon <[email protected]>
I fixed up the original patch in a slightly different way.
Thanks,
Rafael
Quoted 18 lines
--- drivers/devfreq/devfreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/devfreq/devfreq.c +1
-1@@ -286,7 +286,7 @@ static int devfreq_notifier_call(struct notifier_block *nb, unsigned long type,/** * _remove_devfreq() - Remove devfreq from the devfreq list and -release its resources. +* release its resources. * @devfreq: the devfreq struct * @skip: skip calling device_unregister(). */
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.