Updated patchset for adding support for detecting tablet mode on the X1 Yoga 2016 model, along with some refactoring suggested by Daniel. Important: I realized I never actually tried testing this on any of the older Thinkpad tablets. If someone has one who is willing to test let me know, otherwise I'll test it out when I get to the office on Thursday. Signed-off-by: Lyude <lyude@xxxxxxxxxx> Cc: Daniel Martin <consume.noise@xxxxxxxxx> Lyude (3): thinkpad_acpi: Move tablet detection into separate function thinkpad_acpi: Don't repeat ourselves in hotkey_init_tablet_mode() thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode drivers/platform/x86/thinkpad_acpi.c | 88 ++++++++++++++++++++++++++++++------ 1 file changed, 73 insertions(+), 15 deletions(-) -- 2.7.4 ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel