surfacepro3_button: Add a warning when switching to tablet mode
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 May 2016 11:49:55 +0000 (14:49 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 27 May 2016 18:47:53 +0000 (11:47 -0700)
commite27ffe7e41b1dc747fd1d32d52f7453137f89ed9
treef7a33509a1dd5b8659500b06a6fb723d7540e375
parentddd9357f6017a8c61a20685feab5ce9eee635f6c
surfacepro3_button: Add a warning when switching to tablet mode

Microsoft Surface Book has a tablet mode button. Print another message
once on this event instead of repeating "Unknown event...".

Unfortunately, proper support involves the _DSM method, which is not a
discoverable interface. Just print a warning for now.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/surfacepro3_button.c