Commit 8046f049 authored by Andy Shevchenko's avatar Andy Shevchenko

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 9b748e0e
...@@ -17,9 +17,8 @@ ...@@ -17,9 +17,8 @@
*/ */
#include <linux/init.h>
#include <linux/module.h>
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/module.h>
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -44,6 +43,7 @@ static const struct acpi_device_id smartconnect_ids[] = { ...@@ -44,6 +43,7 @@ static const struct acpi_device_id smartconnect_ids[] = {
{"INT33A0", 0}, {"INT33A0", 0},
{"", 0} {"", 0}
}; };
MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
static struct acpi_driver smartconnect_driver = { static struct acpi_driver smartconnect_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -56,5 +56,3 @@ static struct acpi_driver smartconnect_driver = { ...@@ -56,5 +56,3 @@ static struct acpi_driver smartconnect_driver = {
}; };
module_acpi_driver(smartconnect_driver); module_acpi_driver(smartconnect_driver);
MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment