Skip to content

Commit c2d7ed9

Browse files
squircledtor
authored andcommitted
Input: i8042 - fix typos in comments
This trivial patch fixes two spelling typos in i8042.c: - 'i8042_unlock_ship()' to 'i8042_unlock_chip()' - 'i8042_controller init' to 'i8042_controller_init' Signed-off-by: Tyson Moore <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 552e404 commit c2d7ed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/input/serio/i8042.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static DEFINE_SPINLOCK(i8042_lock);
139139
/*
140140
* Writers to AUX and KBD ports as well as users issuing i8042_command
141141
* directly should acquire i8042_mutex (by means of calling
142-
* i8042_lock_chip() and i8042_unlock_ship() helpers) to ensure that
142+
* i8042_lock_chip() and i8042_unlock_chip() helpers) to ensure that
143143
* they do not disturb each other (unfortunately in many i8042
144144
* implementations write to one of the ports will immediately abort
145145
* command that is being processed by another port).
@@ -979,7 +979,7 @@ static int i8042_controller_selftest(void)
979979
}
980980

981981
/*
982-
* i8042_controller init initializes the i8042 controller, and,
982+
* i8042_controller_init initializes the i8042 controller, and,
983983
* most importantly, sets it into non-xlated mode if that's
984984
* desired.
985985
*/

0 commit comments

Comments
 (0)