]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49db9b533ef6e3217f1280774b14815c529b4106
tree960414612a9b1a72f1a7ed41056aced7f1468d5a
parent57bce830f937e5a37582f00e60e10f4e15aea298
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