PM: sleep: Update stale comment in device_resume()
Subsystems (4)
PATCH 1/1 PM: sleep: Update stale comment in device_resume()
From: Rafael J. Wysocki <[email protected]>
There is no function called __device_suspend() any more and it is still mentioned in a comment in device_resume(), so update that comment.
--- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/power/main.c +1 -1
@@ -914,7 +914,7 @@ static void device_resume(struct device goto Complete;if (dev->power.direct_complete) { -/* Match the pm_runtime_disable() in __device_suspend(). */ +/* Match the pm_runtime_disable() in device_suspend(). */ pm_runtime_enable (dev); goto Complete; }
Quoted 5 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
There is no function called
__device_suspend()any more and it is still mentioned in a comment indevice_resume(), so update that comment.
Quoted 7 lines
Signed-off-by Rafael J. Wysocki <[email protected]>--- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
linux-pm/drivers/base/power/main.c
===================================================================
Are you not using git? This looks like the old cvs output :)
Rafael J. Wysocki
maintainerQuoted 12 lines · Greg Kroah-Hartman
Quoted 10 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
There is no function called
__device_suspend()any more and it is still mentioned in a comment indevice_resume(), so update that comment.Signed-off-by Rafael J. Wysocki <[email protected]>--- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 4 lines
Quoted 2 lines
Index:
linux-pm/drivers/base/power/main.c
===================================================================Are you not using git? This looks like the old cvs output :)
I use git, but for patch generation I prefer quilt which has produced this patch.
Quoted 1 line
Greg Kroah-Hartman
maintainerQuoted 14 lines · Rafael J. Wysocki
Quoted 12 lines · Greg Kroah-Hartman
Quoted 10 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
There is no function called
__device_suspend()any more and it is still mentioned in a comment indevice_resume(), so update that comment.Signed-off-by Rafael J. Wysocki <[email protected]>--- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Index:
linux-pm/drivers/base/power/main.c
===================================================================Are you not using git? This looks like the old cvs output :)
I use git, but for patch generation I prefer quilt which has produced this patch.
From my .quiltrc:
QUILT_REFRESH_ARGS="--diffstat --strip-trailing-whitespace --no-timestamps --no-index --sort -p1 -p ab"
makes it almost look like the git output :)
Rafael J. Wysocki
maintainerQuoted 21 lines · Greg Kroah-Hartman
Quoted 19 lines · Rafael J. Wysocki
Quoted 16 lines · Greg Kroah-Hartman
Quoted 5 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
There is no function called
__device_suspend()any more and it is still mentioned in a comment indevice_resume(), so update that comment.Quoted 7 lines
Signed-off-by Rafael J. Wysocki <[email protected]>--- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
linux-pm/drivers/base/power/main.c
===================================================================Are you not using git? This looks like the old cvs output :)
Quoted 7 lines
Quoted 2 lines
I use git, but for patch generation I prefer quilt which has produced this patch.
From my .quiltrc:
QUILT_REFRESH_ARGS="--diffstat --strip-trailing-whitespace --no-timestamps --no-index --sort -p1 -p ab"makes it almost look like the git output :)
Good to know, thanks for the hint!