platform/x86: thinkpad_acpi: do not report thermal sensor state for tablet mode switch

We should not do a thermal sensors state dump to the kernel log just
because the laptop is reporting that it changed into or out of tablet
mode.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Tested-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Henrique de Moraes Holschuh 2018-04-24 16:56:04 -03:00 коммит произвёл Andy Shevchenko
Родитель 6e6bc5f6e6
Коммит edd1ed7302
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4098,7 +4098,7 @@ static bool hotkey_notify_6xxx(const u32 hkey,
tpacpi_input_send_tabletsw(); tpacpi_input_send_tabletsw();
hotkey_tablet_mode_notify_change(); hotkey_tablet_mode_notify_change();
*send_acpi_ev = false; *send_acpi_ev = false;
break; return true;
case TP_HKEY_EV_PALM_DETECTED: case TP_HKEY_EV_PALM_DETECTED:
case TP_HKEY_EV_PALM_UNDETECTED: case TP_HKEY_EV_PALM_UNDETECTED: