arch: x86: kernel: Mundane spelling fixes throughout the file apm_32.c
Subsystems (2)
PATCH 1/1 arch: x86: kernel: Mundane spelling fixes throughout the file apm_32.c
s/messges/messages/
s/powermanagement/power management/
s/secodnds/seconds/
s/powerdown/poer down/
Capitalize and truncate space in start of the sentence.
--- arch/x86/kernel/apm_32.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/x86/kernel/apm_32.c +5 -5
@@ -766,7 +766,7 @@ static int apm_driver_version(u_short *val)* not cleared until it is acknowledged. * * Additional information is returned in the info pointer, providing -* that APM 1.2 is in use. If no messges are pending the value 0x80 +* that APM 1.2 is in use. If no messages are pending the value 0x80 * is returned (No power management events pending). */ static int apm_get_event (apm_event_t *event,apm_eventinfo_t *info)
@@ -893,7 +893,7 @@ static void apm_do_busy(void)* apm_cpu_idle - cpu idling for APM capable Linux * * This is the idling function the kernel executes when APM is available. It -* tries to do BIOS powermanagement based on the average system idle time. +* tries to do BIOS power management based on the average system idle time. * Furthermore it calls the system default idle routine. */
@@ -1025,7 +1025,7 @@ static int apm_enable_power_management(int enable)* status which gives the rough battery status, and current power * source. The bat value returned give an estimate as a percentage * of life and a status value for the battery. The estimated life -* if reported is a lifetime in secodnds/minutes at current powwer +* if reported is a lifetime in seconds/minutes at current power * consumption. */
@@ -1121,7 +1121,7 @@ static int apm_engage_power_management(u_short device, int enable)* Attempt to blank the console, firstly by blanking just video device * zero, and if that fails (some BIOSes don't support it) then it blanks * all video devices. Typically the BIOS will do laptop backlight and -* monitor powerdown for us. +* monitor power down for us. */ static int apm_console_blank (int blank)
@@ -2366,7 +2366,7 @@ static int __init apm_init(void)/* * Note we don't actually care if the misc_device cannot be registered. * this driver can do its job without it, even if userspace can't -* control it. just log the error +* control it.Just log the error */ if (misc_register (&apm_device))printk (KERN_WARNING "apm: Could not register misc device.\n" );
--
2.26.2
Quoted 18 lines · Bhaskar Chowdhury
s/messges/messages/
s/powermanagement/power management/
s/secodnds/seconds/
s/powerdown/poer down/Capitalize and truncate space in start of the sentence.
Signed-off-by Bhaskar Chowdhury <[email protected]>--- arch/x86/kernel/apm_32.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)arch/x86/kernel/apm_32.c +0
-0
arch/x86/kernel/apm_32.c static int __init apm_init(void) · line 2369
Quoted 5 lines
arch/x86/kernel/apm_32.c +1
-1@@ -2366,7 +2366,7 @@ static int __init apm_init(void)/* * Note we don't actually care if the misc_device cannot be registered. * this driver can do its job without it, even if userspace can't -* control it. just log the error +* control it.Just log the error
missing space and period:
* control it. Just log the error.
The rest of the changes look good.
Thanks.
Quoted 6 lines
arch/x86/kernel/apm_32.c +0
-1*/ if (misc_register (&apm_device))printk (KERN_WARNING "apm: Could not register misc device.\n" ); --2.26.2
Signature · 1 line
~Randy
Quoted 27 lines · Randy Dunlap
Quoted 18 lines · Bhaskar Chowdhury
s/messges/messages/
s/powermanagement/power management/
s/secodnds/seconds/
s/powerdown/poer down/Capitalize and truncate space in start of the sentence.
Signed-off-by Bhaskar Chowdhury <[email protected]>--- arch/x86/kernel/apm_32.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)arch/x86/kernel/apm_32.c +0
-0arch/x86/kernel/apm_32.c static int __init apm_init(void) · line 2369
Quoted 5 lines
arch/x86/kernel/apm_32.c +1
-1@@ -2366,7 +2366,7 @@ static int __init apm_init(void)/* * Note we don't actually care if the misc_device cannot be registered. * this driver can do its job without it, even if userspace can't -* control it. just log the error +* control it.Just log the error missing space and period:
Quoted 4 lines
* control it. Just log the error.
The rest of the changes look good.
My bad...thank you Randy!
Quoted 13 lines
Thanks.
Quoted 6 lines
arch/x86/kernel/apm_32.c +0
-1*/ if (misc_register (&apm_device))printk (KERN_WARNING "apm: Could not register misc device.\n" ); --2.26.2
--
~Randy