OSDN Git Service

platform/x86: intel-vbtn: Move detect_tablet_mode() to higher in the file
authorHans de Goede <hdegoede@redhat.com>
Sun, 10 May 2020 12:20:46 +0000 (14:20 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 May 2020 14:27:12 +0000 (17:27 +0300)
commitf913c3086c5078f67c1a6833f6fd1593d8a174fe
tree960414612a9b1a72f1a7ed41056aced7f1468d5a
parent10d7ff74b6f2d5e5b38d752a683225c944dd3da9
platform/x86: intel-vbtn: Move detect_tablet_mode() to higher in the file

This is a preparation patch for calling detect_tablet_mode() from
intel_vbtn_input_setup() without needing a forward declaration.

Note this commit makes no functional changes, the moved block of code
is completely unchanged.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel-vbtn.c