public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] platform/x86: intel-vbtn: Remove redundant inclusions
@ 2018-01-31 17:54 Andy Shevchenko
  2018-01-31 17:54 ` [PATCH v1 2/2] platform/x86: intel-vbtn: Replace License by SDPX identifier Andy Shevchenko
  2018-01-31 18:50 ` [PATCH v1 1/2] platform/x86: intel-vbtn: Remove redundant inclusions Darren Hart
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Shevchenko @ 2018-01-31 17:54 UTC (permalink / raw)
  To: Darren Hart, platform-driver-x86, AceLan Kao, linux-kernel
  Cc: Andy Shevchenko

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>
---
 drivers/platform/x86/intel-vbtn.c | 8 +++-----
 1 file 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
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-05 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-31 17:54 [PATCH v1 1/2] platform/x86: intel-vbtn: Remove redundant inclusions Andy Shevchenko
2018-01-31 17:54 ` [PATCH v1 2/2] platform/x86: intel-vbtn: Replace License by SDPX identifier Andy Shevchenko
2018-01-31 18:51   ` Darren Hart
2018-01-31 18:50 ` [PATCH v1 1/2] platform/x86: intel-vbtn: Remove redundant inclusions Darren Hart
2018-01-31 18:59   ` Andy Shevchenko
2018-01-31 19:04     ` Darren Hart
2018-02-05 16:23       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox