[PATCH 1/2] thinkpad_acpi: Move tablet detection into separate function