Commit c2d7ed9d authored by Tyson Moore's avatar Tyson Moore Committed by Dmitry Torokhov

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: default avatarTyson Moore <tyson@tyson.me>
Link: https://lore.kernel.org/r/20210612060753.28968-1-tyson@tyson.meSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 552e4047
...@@ -139,7 +139,7 @@ static DEFINE_SPINLOCK(i8042_lock); ...@@ -139,7 +139,7 @@ static DEFINE_SPINLOCK(i8042_lock);
/* /*
* Writers to AUX and KBD ports as well as users issuing i8042_command * Writers to AUX and KBD ports as well as users issuing i8042_command
* directly should acquire i8042_mutex (by means of calling * directly should acquire i8042_mutex (by means of calling
* i8042_lock_chip() and i8042_unlock_ship() helpers) to ensure that * i8042_lock_chip() and i8042_unlock_chip() helpers) to ensure that
* they do not disturb each other (unfortunately in many i8042 * they do not disturb each other (unfortunately in many i8042
* implementations write to one of the ports will immediately abort * implementations write to one of the ports will immediately abort
* command that is being processed by another port). * command that is being processed by another port).
...@@ -979,7 +979,7 @@ static int i8042_controller_selftest(void) ...@@ -979,7 +979,7 @@ static int i8042_controller_selftest(void)
} }
/* /*
* i8042_controller init initializes the i8042 controller, and, * i8042_controller_init initializes the i8042 controller, and,
* most importantly, sets it into non-xlated mode if that's * most importantly, sets it into non-xlated mode if that's
* desired. * desired.
*/ */
......
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