diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-01-31 12:54:06 -0500 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-01 08:29:50 -0500 |
commit | bd1b27e2c8ade686b0e9f6295b5cbe7c27ca01a4 (patch) | |
tree | fb577e6ecf9accbf4886ea7dc436933ef328e90d | |
parent | 30323fb6d552c41997baca5292bf7001366cab57 (diff) |
platform/x86: intel-vbtn: Remove redundant inclusions
Some headers are not needed since the driver can be built as module.
Remove them.
While here, sort headers alphabetically.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r-- | drivers/platform/x86/intel-vbtn.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c index 101c100a3929..69bc39f8d61d 100644 --- a/drivers/platform/x86/intel-vbtn.c +++ b/drivers/platform/x86/intel-vbtn.c | |||
@@ -16,15 +16,13 @@ | |||
16 | * | 16 | * |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/acpi.h> | ||
20 | #include <linux/input.h> | ||
21 | #include <linux/input/sparse-keymap.h> | ||
19 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
20 | #include <linux/module.h> | 23 | #include <linux/module.h> |
21 | #include <linux/init.h> | ||
22 | #include <linux/input.h> | ||
23 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
24 | #include <linux/input/sparse-keymap.h> | ||
25 | #include <linux/acpi.h> | ||
26 | #include <linux/suspend.h> | 25 | #include <linux/suspend.h> |
27 | #include <acpi/acpi_bus.h> | ||
28 | 26 | ||
29 | /* When NOT in tablet mode, VGBS returns with the flag 0x40 */ | 27 | /* When NOT in tablet mode, VGBS returns with the flag 0x40 */ |
30 | #define TABLET_MODE_FLAG 0x40 | 28 | #define TABLET_MODE_FLAG 0x40 |