aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-09-26 11:27:14 -0400
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-09-27 05:18:19 -0400
commit8046f0499c14819fb36176a589d21d225e69ae01 (patch)
tree197d6518cba2918f8c80df5ce57c57d40e75b5fe
parent9b748e0efee547f5a17c07c674cebe3ca148233f (diff)
platform/x86: intel-smartconnect: Sort headers alphabetically
Sort headers alphabetically for better maintenance. No functional change. While here, remove unneeded linux/init.h inclusion and move MODULE_DEVICE_TABLE() close to the table. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/platform/x86/intel-smartconnect.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/platform/x86/intel-smartconnect.c b/drivers/platform/x86/intel-smartconnect.c
index bbe4c06c769f..274ac488afcb 100644
--- a/drivers/platform/x86/intel-smartconnect.c
+++ b/drivers/platform/x86/intel-smartconnect.c
@@ -17,9 +17,8 @@
17 */ 17 */
18 18
19 19
20#include <linux/init.h>
21#include <linux/module.h>
22#include <linux/acpi.h> 20#include <linux/acpi.h>
21#include <linux/module.h>
23 22
24MODULE_LICENSE("GPL"); 23MODULE_LICENSE("GPL");
25 24
@@ -44,6 +43,7 @@ static const struct acpi_device_id smartconnect_ids[] = {
44 {"INT33A0", 0}, 43 {"INT33A0", 0},
45 {"", 0} 44 {"", 0}
46}; 45};
46MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
47 47
48static struct acpi_driver smartconnect_driver = { 48static struct acpi_driver smartconnect_driver = {
49 .owner = THIS_MODULE, 49 .owner = THIS_MODULE,
@@ -56,5 +56,3 @@ static struct acpi_driver smartconnect_driver = {
56}; 56};
57 57
58module_acpi_driver(smartconnect_driver); 58module_acpi_driver(smartconnect_driver);
59
60MODULE_DEVICE_TABLE(acpi, smartconnect_ids);