diff options
author | Kaiyen Chang <kaiyen.chang@intel.com> | 2018-03-25 01:01:42 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-26 14:41:41 -0700 |
commit | b57ad0e1b82f87e7882e3bd7d05b8e994ad5a414 (patch) | |
tree | 9fa833f0802b12883e9fb0da78d2f2af8317a90b | |
parent | 33bac396c61b06ab5cfd55b5f3c3d64aaff8b784 (diff) | |
download | chrome-ec-b57ad0e1b82f87e7882e3bd7d05b8e994ad5a414.tar.gz |
Remove the unnecessary words of "Disable touchpad" in the comments
The control of trackpad from EC was entirely removed by CL:421275.
So remove the unnecessary words of disabling touchpad in the comment
of lid_angle_peripheral_enable().
BUG=none
BRANCH=poppy
TEST=none
Change-Id: Ie688d9dc98c5f6f60a9d3908945495f4b6fdb00d
Signed-off-by: Kaiyen Chang <kaiyen.chang@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/979572
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | board/coral/board.c | 3 | ||||
-rw-r--r-- | board/nami/board.c | 3 | ||||
-rw-r--r-- | board/nautilus/board.c | 3 | ||||
-rw-r--r-- | board/reef/board.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/board/coral/board.c b/board/coral/board.c index 92160d4cc6..e54138b904 100644 --- a/board/coral/board.c +++ b/board/coral/board.c @@ -667,7 +667,8 @@ static void enable_input_devices(void) void lid_angle_peripheral_enable(int enable) { /* If the lid is in 360 position, ignore the lid angle, - * which might be faulty. Disable keyboard and touchpad. */ + * which might be faulty. Disable keyboard. + */ if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF)) enable = 0; keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); diff --git a/board/nami/board.c b/board/nami/board.c index 29ee69147a..40722559cf 100644 --- a/board/nami/board.c +++ b/board/nami/board.c @@ -661,7 +661,8 @@ BUILD_ASSERT(ARRAY_SIZE(motion_als_sensors) == ALS_COUNT); void lid_angle_peripheral_enable(int enable) { /* If the lid is in 360 position, ignore the lid angle, - * which might be faulty. Disable keyboard and touchpad. */ + * which might be faulty. Disable keyboard. + */ if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF)) enable = 0; keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); diff --git a/board/nautilus/board.c b/board/nautilus/board.c index ff9ad80944..5f0c75514e 100644 --- a/board/nautilus/board.c +++ b/board/nautilus/board.c @@ -670,7 +670,8 @@ const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); void lid_angle_peripheral_enable(int enable) { /* If the lid is in 360 position, ignore the lid angle, - * which might be faulty. Disable keyboard and touchpad. */ + * which might be faulty. Disable keyboard. + */ if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF)) enable = 0; keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); diff --git a/board/reef/board.c b/board/reef/board.c index 9bdc35a9a2..8ff7d1b3f5 100644 --- a/board/reef/board.c +++ b/board/reef/board.c @@ -653,7 +653,8 @@ static void enable_input_devices(void) void lid_angle_peripheral_enable(int enable) { /* If the lid is in 360 position, ignore the lid angle, - * which might be faulty. Disable keyboard and touchpad. */ + * which might be faulty. Disable keyboard. + */ if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF)) enable = 0; keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); |