diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-01-31 19:54:06 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-01 15:29:50 +0200 |
commit | bd1b27e2c8ade686b0e9f6295b5cbe7c27ca01a4 (patch) | |
tree | fb577e6ecf9accbf4886ea7dc436933ef328e90d /drivers/platform/x86/intel-vbtn.c | |
parent | 30323fb6d552c41997baca5292bf7001366cab57 (diff) | |
download | talos-op-linux-bd1b27e2c8ade686b0e9f6295b5cbe7c27ca01a4.tar.gz talos-op-linux-bd1b27e2c8ade686b0e9f6295b5cbe7c27ca01a4.zip |
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>
Diffstat (limited to 'drivers/platform/x86/intel-vbtn.c')
-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 @@ * */ +#include <linux/acpi.h> +#include <linux/input.h> +#include <linux/input/sparse-keymap.h> #include <linux/kernel.h> #include <linux/module.h> -#include <linux/init.h> -#include <linux/input.h> #include <linux/platform_device.h> -#include <linux/input/sparse-keymap.h> -#include <linux/acpi.h> #include <linux/suspend.h> -#include <acpi/acpi_bus.h> /* When NOT in tablet mode, VGBS returns with the flag 0x40 */ #define TABLET_MODE_FLAG 0x40 |