linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Alex Hung <alex.hung@canonical.com>,
	Mario Limonciello <mario.limonciello@dell.com>,
	Sujith Thomas <sujith.thomas@intel.com>,
	Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>,
	Zha Qipeng <qipeng.zha@intel.com>,
	Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>,
	platform-driver-x86@vger.kernel.org,
	Darren Hart <dvhart@infradead.org>,
	Hans de Goede <hdegoede@redhat.com>,
	Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	linux-kernel@vger.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH v1 23/28] platform/x86: intel-smartconnect: Sort headers alphabetically
Date: Wed, 26 Sep 2018 19:52:18 +0300	[thread overview]
Message-ID: <20180926165223.19390-23-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20180926165223.19390-1-andriy.shevchenko@linux.intel.com>

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>
---
 drivers/platform/x86/intel-smartconnect.c | 6 ++----
 1 file 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 @@
  */
 
 
-#include <linux/init.h>
-#include <linux/module.h>
 #include <linux/acpi.h>
+#include <linux/module.h>
 
 MODULE_LICENSE("GPL");
 
@@ -44,6 +43,7 @@ static const struct acpi_device_id smartconnect_ids[] = {
 	{"INT33A0", 0},
 	{"", 0}
 };
+MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
 
 static struct acpi_driver smartconnect_driver = {
 	.owner = THIS_MODULE,
@@ -56,5 +56,3 @@ static struct acpi_driver smartconnect_driver = {
 };
 
 module_acpi_driver(smartconnect_driver);
-
-MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
-- 
2.19.0


  parent reply	other threads:[~2018-09-26 16:53 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:51 ` [PATCH v1 02/28] platform/x86: intel_cht_int33fe: " Andy Shevchenko
2018-09-26 16:51 ` [PATCH v1 03/28] platform/x86: intel_chtdc_ti_pwrbtn: Add " Andy Shevchenko
2018-09-26 16:51 ` [PATCH v1 04/28] platform/x86: intel-hid: Convert to use " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 05/28] platform/x86: intel_int0002_vgpio: " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 06/28] platform/x86: intel-ips: " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 07/28] platform/x86: intel_menlow: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 08/28] platform/x86: intel_menlow: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 09/28] platform/x86: intel_mid_powerbtn: Remove unnecessary init.h inclusion Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 10/28] platform/x86: intel_mid_powerbtn: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 11/28] platform/x86: intel_mid_thermal: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 12/28] platform/x86: intel_mid_thermal: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 13/28] platform/x86: intel_oaktrail: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 14/28] platform/x86: intel_oaktrail: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 15/28] platform/x86: intel_pmc: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 16/28] platform/x86: intel_pmc: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 17/28] platform/x86: intel_punit_ipc: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 18/28] platform/x86: intel_punit_ipc: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 19/28] platform/x86: intel-rst: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 20/28] platform/x86: intel-rst: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 21/28] platform/x86: intel_scu_ipc: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 22/28] platform/x86: intel_scu_ipc: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` Andy Shevchenko [this message]
2018-09-26 16:52 ` [PATCH v1 24/28] platform/x86: intel-smartconnect: " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 25/28] platform/x86: intel_telemetry: " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 26/28] platform/x86: intel_turbo_max_3: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 27/28] platform/x86: intel_turbo_max_3: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 28/28] platform/x86: intel-wmi-thunderbolt: " Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180926165223.19390-23-andriy.shevchenko@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=alex.hung@canonical.com \
    --cc=dvhart@infradead.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@dell.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=qipeng.zha@intel.com \
    --cc=rajneesh.bhardwaj@intel.com \
    --cc=souvik.k.chakravarty@intel.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=sujith.thomas@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).