This patch just sorts IDs in the table for better maintenance. There is no
functional change.

Signed-off-by: Andy Shevchenko <[email protected]>
---
Changelog v2:
- few more unnoticed lines are sorted
 drivers/mfd/lpc_ich.c | 174 +++++++++++++++++++++++++-------------------------
 1 file changed, 87 insertions(+), 87 deletions(-)

diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
index f35d428..12d960a 100644
--- a/drivers/mfd/lpc_ich.c
+++ b/drivers/mfd/lpc_ich.c
@@ -539,72 +539,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
  * functions that probably will be registered by other drivers.
  */
 static const struct pci_device_id lpc_ich_ids[] = {
-       { PCI_VDEVICE(INTEL, 0x2410), LPC_ICH},
-       { PCI_VDEVICE(INTEL, 0x2420), LPC_ICH0},
-       { PCI_VDEVICE(INTEL, 0x2440), LPC_ICH2},
-       { PCI_VDEVICE(INTEL, 0x244c), LPC_ICH2M},
-       { PCI_VDEVICE(INTEL, 0x2480), LPC_ICH3},
-       { PCI_VDEVICE(INTEL, 0x248c), LPC_ICH3M},
-       { PCI_VDEVICE(INTEL, 0x24c0), LPC_ICH4},
-       { PCI_VDEVICE(INTEL, 0x24cc), LPC_ICH4M},
-       { PCI_VDEVICE(INTEL, 0x2450), LPC_CICH},
-       { PCI_VDEVICE(INTEL, 0x24d0), LPC_ICH5},
-       { PCI_VDEVICE(INTEL, 0x25a1), LPC_6300ESB},
-       { PCI_VDEVICE(INTEL, 0x2640), LPC_ICH6},
-       { PCI_VDEVICE(INTEL, 0x2641), LPC_ICH6M},
-       { PCI_VDEVICE(INTEL, 0x2642), LPC_ICH6W},
-       { PCI_VDEVICE(INTEL, 0x2670), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2671), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2672), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2673), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2674), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2675), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2676), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2677), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2678), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x2679), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x267a), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x267b), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x267c), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x267d), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x267e), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x267f), LPC_631XESB},
-       { PCI_VDEVICE(INTEL, 0x27b8), LPC_ICH7},
-       { PCI_VDEVICE(INTEL, 0x27b0), LPC_ICH7DH},
-       { PCI_VDEVICE(INTEL, 0x27b9), LPC_ICH7M},
-       { PCI_VDEVICE(INTEL, 0x27bd), LPC_ICH7MDH},
-       { PCI_VDEVICE(INTEL, 0x27bc), LPC_NM10},
-       { PCI_VDEVICE(INTEL, 0x2810), LPC_ICH8},
-       { PCI_VDEVICE(INTEL, 0x2812), LPC_ICH8DH},
-       { PCI_VDEVICE(INTEL, 0x2814), LPC_ICH8DO},
-       { PCI_VDEVICE(INTEL, 0x2815), LPC_ICH8M},
-       { PCI_VDEVICE(INTEL, 0x2811), LPC_ICH8ME},
-       { PCI_VDEVICE(INTEL, 0x2918), LPC_ICH9},
-       { PCI_VDEVICE(INTEL, 0x2916), LPC_ICH9R},
-       { PCI_VDEVICE(INTEL, 0x2912), LPC_ICH9DH},
-       { PCI_VDEVICE(INTEL, 0x2914), LPC_ICH9DO},
-       { PCI_VDEVICE(INTEL, 0x2919), LPC_ICH9M},
-       { PCI_VDEVICE(INTEL, 0x2917), LPC_ICH9ME},
-       { PCI_VDEVICE(INTEL, 0x3a18), LPC_ICH10},
-       { PCI_VDEVICE(INTEL, 0x3a16), LPC_ICH10R},
-       { PCI_VDEVICE(INTEL, 0x3a1a), LPC_ICH10D},
-       { PCI_VDEVICE(INTEL, 0x3a14), LPC_ICH10DO},
-       { PCI_VDEVICE(INTEL, 0x3b00), LPC_PCH},
-       { PCI_VDEVICE(INTEL, 0x3b01), LPC_PCHM},
-       { PCI_VDEVICE(INTEL, 0x3b02), LPC_P55},
-       { PCI_VDEVICE(INTEL, 0x3b03), LPC_PM55},
-       { PCI_VDEVICE(INTEL, 0x3b06), LPC_H55},
-       { PCI_VDEVICE(INTEL, 0x3b07), LPC_QM57},
-       { PCI_VDEVICE(INTEL, 0x3b08), LPC_H57},
-       { PCI_VDEVICE(INTEL, 0x3b09), LPC_HM55},
-       { PCI_VDEVICE(INTEL, 0x3b0a), LPC_Q57},
-       { PCI_VDEVICE(INTEL, 0x3b0b), LPC_HM57},
-       { PCI_VDEVICE(INTEL, 0x3b0d), LPC_PCHMSFF},
-       { PCI_VDEVICE(INTEL, 0x3b0f), LPC_QS57},
-       { PCI_VDEVICE(INTEL, 0x3b12), LPC_3400},
-       { PCI_VDEVICE(INTEL, 0x3b14), LPC_3420},
-       { PCI_VDEVICE(INTEL, 0x3b16), LPC_3450},
-       { PCI_VDEVICE(INTEL, 0x5031), LPC_EP80579},
+       { PCI_VDEVICE(INTEL, 0x0f1c), LPC_BAYTRAIL},
        { PCI_VDEVICE(INTEL, 0x1c41), LPC_CPT},
        { PCI_VDEVICE(INTEL, 0x1c42), LPC_CPTD},
        { PCI_VDEVICE(INTEL, 0x1c43), LPC_CPTM},
@@ -638,7 +573,6 @@ static const struct pci_device_id lpc_ich_ids[] = {
        { PCI_VDEVICE(INTEL, 0x1c5f), LPC_CPT},
        { PCI_VDEVICE(INTEL, 0x1d40), LPC_PBG},
        { PCI_VDEVICE(INTEL, 0x1d41), LPC_PBG},
-       { PCI_VDEVICE(INTEL, 0x2310), LPC_DH89XXCC},
        { PCI_VDEVICE(INTEL, 0x1e40), LPC_PPT},
        { PCI_VDEVICE(INTEL, 0x1e41), LPC_PPT},
        { PCI_VDEVICE(INTEL, 0x1e42), LPC_PPT},
@@ -671,6 +605,79 @@ static const struct pci_device_id lpc_ich_ids[] = {
        { PCI_VDEVICE(INTEL, 0x1e5d), LPC_PPT},
        { PCI_VDEVICE(INTEL, 0x1e5e), LPC_PPT},
        { PCI_VDEVICE(INTEL, 0x1e5f), LPC_PPT},
+       { PCI_VDEVICE(INTEL, 0x1f38), LPC_AVN},
+       { PCI_VDEVICE(INTEL, 0x1f39), LPC_AVN},
+       { PCI_VDEVICE(INTEL, 0x1f3a), LPC_AVN},
+       { PCI_VDEVICE(INTEL, 0x1f3b), LPC_AVN},
+       { PCI_VDEVICE(INTEL, 0x229c), LPC_BRASWELL},
+       { PCI_VDEVICE(INTEL, 0x2310), LPC_DH89XXCC},
+       { PCI_VDEVICE(INTEL, 0x2390), LPC_COLETO},
+       { PCI_VDEVICE(INTEL, 0x2410), LPC_ICH},
+       { PCI_VDEVICE(INTEL, 0x2420), LPC_ICH0},
+       { PCI_VDEVICE(INTEL, 0x2440), LPC_ICH2},
+       { PCI_VDEVICE(INTEL, 0x244c), LPC_ICH2M},
+       { PCI_VDEVICE(INTEL, 0x2450), LPC_CICH},
+       { PCI_VDEVICE(INTEL, 0x2480), LPC_ICH3},
+       { PCI_VDEVICE(INTEL, 0x248c), LPC_ICH3M},
+       { PCI_VDEVICE(INTEL, 0x24c0), LPC_ICH4},
+       { PCI_VDEVICE(INTEL, 0x24cc), LPC_ICH4M},
+       { PCI_VDEVICE(INTEL, 0x24d0), LPC_ICH5},
+       { PCI_VDEVICE(INTEL, 0x25a1), LPC_6300ESB},
+       { PCI_VDEVICE(INTEL, 0x2640), LPC_ICH6},
+       { PCI_VDEVICE(INTEL, 0x2641), LPC_ICH6M},
+       { PCI_VDEVICE(INTEL, 0x2642), LPC_ICH6W},
+       { PCI_VDEVICE(INTEL, 0x2670), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2671), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2672), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2673), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2674), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2675), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2676), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2677), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2678), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x2679), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x267a), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x267b), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x267c), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x267d), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x267e), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x267f), LPC_631XESB},
+       { PCI_VDEVICE(INTEL, 0x27b0), LPC_ICH7DH},
+       { PCI_VDEVICE(INTEL, 0x27b8), LPC_ICH7},
+       { PCI_VDEVICE(INTEL, 0x27b9), LPC_ICH7M},
+       { PCI_VDEVICE(INTEL, 0x27bc), LPC_NM10},
+       { PCI_VDEVICE(INTEL, 0x27bd), LPC_ICH7MDH},
+       { PCI_VDEVICE(INTEL, 0x2810), LPC_ICH8},
+       { PCI_VDEVICE(INTEL, 0x2811), LPC_ICH8ME},
+       { PCI_VDEVICE(INTEL, 0x2812), LPC_ICH8DH},
+       { PCI_VDEVICE(INTEL, 0x2814), LPC_ICH8DO},
+       { PCI_VDEVICE(INTEL, 0x2815), LPC_ICH8M},
+       { PCI_VDEVICE(INTEL, 0x2912), LPC_ICH9DH},
+       { PCI_VDEVICE(INTEL, 0x2914), LPC_ICH9DO},
+       { PCI_VDEVICE(INTEL, 0x2916), LPC_ICH9R},
+       { PCI_VDEVICE(INTEL, 0x2917), LPC_ICH9ME},
+       { PCI_VDEVICE(INTEL, 0x2918), LPC_ICH9},
+       { PCI_VDEVICE(INTEL, 0x2919), LPC_ICH9M},
+       { PCI_VDEVICE(INTEL, 0x3a14), LPC_ICH10DO},
+       { PCI_VDEVICE(INTEL, 0x3a16), LPC_ICH10R},
+       { PCI_VDEVICE(INTEL, 0x3a18), LPC_ICH10},
+       { PCI_VDEVICE(INTEL, 0x3a1a), LPC_ICH10D},
+       { PCI_VDEVICE(INTEL, 0x3b00), LPC_PCH},
+       { PCI_VDEVICE(INTEL, 0x3b01), LPC_PCHM},
+       { PCI_VDEVICE(INTEL, 0x3b02), LPC_P55},
+       { PCI_VDEVICE(INTEL, 0x3b03), LPC_PM55},
+       { PCI_VDEVICE(INTEL, 0x3b06), LPC_H55},
+       { PCI_VDEVICE(INTEL, 0x3b07), LPC_QM57},
+       { PCI_VDEVICE(INTEL, 0x3b08), LPC_H57},
+       { PCI_VDEVICE(INTEL, 0x3b09), LPC_HM55},
+       { PCI_VDEVICE(INTEL, 0x3b0a), LPC_Q57},
+       { PCI_VDEVICE(INTEL, 0x3b0b), LPC_HM57},
+       { PCI_VDEVICE(INTEL, 0x3b0d), LPC_PCHMSFF},
+       { PCI_VDEVICE(INTEL, 0x3b0f), LPC_QS57},
+       { PCI_VDEVICE(INTEL, 0x3b12), LPC_3400},
+       { PCI_VDEVICE(INTEL, 0x3b14), LPC_3420},
+       { PCI_VDEVICE(INTEL, 0x3b16), LPC_3450},
+       { PCI_VDEVICE(INTEL, 0x5031), LPC_EP80579},
        { PCI_VDEVICE(INTEL, 0x8c40), LPC_LPT},
        { PCI_VDEVICE(INTEL, 0x8c41), LPC_LPT},
        { PCI_VDEVICE(INTEL, 0x8c42), LPC_LPT},
@@ -703,14 +710,11 @@ static const struct pci_device_id lpc_ich_ids[] = {
        { PCI_VDEVICE(INTEL, 0x8c5d), LPC_LPT},
        { PCI_VDEVICE(INTEL, 0x8c5e), LPC_LPT},
        { PCI_VDEVICE(INTEL, 0x8c5f), LPC_LPT},
-       { PCI_VDEVICE(INTEL, 0x9c40), LPC_LPT_LP},
-       { PCI_VDEVICE(INTEL, 0x9c41), LPC_LPT_LP},
-       { PCI_VDEVICE(INTEL, 0x9c42), LPC_LPT_LP},
-       { PCI_VDEVICE(INTEL, 0x9c43), LPC_LPT_LP},
-       { PCI_VDEVICE(INTEL, 0x9c44), LPC_LPT_LP},
-       { PCI_VDEVICE(INTEL, 0x9c45), LPC_LPT_LP},
-       { PCI_VDEVICE(INTEL, 0x9c46), LPC_LPT_LP},
-       { PCI_VDEVICE(INTEL, 0x9c47), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x8cc1), LPC_9S},
+       { PCI_VDEVICE(INTEL, 0x8cc2), LPC_9S},
+       { PCI_VDEVICE(INTEL, 0x8cc3), LPC_9S},
+       { PCI_VDEVICE(INTEL, 0x8cc4), LPC_9S},
+       { PCI_VDEVICE(INTEL, 0x8cc6), LPC_9S},
        { PCI_VDEVICE(INTEL, 0x8d40), LPC_WBG},
        { PCI_VDEVICE(INTEL, 0x8d41), LPC_WBG},
        { PCI_VDEVICE(INTEL, 0x8d42), LPC_WBG},
@@ -743,12 +747,14 @@ static const struct pci_device_id lpc_ich_ids[] = {
        { PCI_VDEVICE(INTEL, 0x8d5d), LPC_WBG},
        { PCI_VDEVICE(INTEL, 0x8d5e), LPC_WBG},
        { PCI_VDEVICE(INTEL, 0x8d5f), LPC_WBG},
-       { PCI_VDEVICE(INTEL, 0x1f38), LPC_AVN},
-       { PCI_VDEVICE(INTEL, 0x1f39), LPC_AVN},
-       { PCI_VDEVICE(INTEL, 0x1f3a), LPC_AVN},
-       { PCI_VDEVICE(INTEL, 0x1f3b), LPC_AVN},
-       { PCI_VDEVICE(INTEL, 0x0f1c), LPC_BAYTRAIL},
-       { PCI_VDEVICE(INTEL, 0x2390), LPC_COLETO},
+       { PCI_VDEVICE(INTEL, 0x9c40), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x9c41), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x9c42), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x9c43), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x9c44), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x9c45), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x9c46), LPC_LPT_LP},
+       { PCI_VDEVICE(INTEL, 0x9c47), LPC_LPT_LP},
        { PCI_VDEVICE(INTEL, 0x9cc1), LPC_WPT_LP},
        { PCI_VDEVICE(INTEL, 0x9cc2), LPC_WPT_LP},
        { PCI_VDEVICE(INTEL, 0x9cc3), LPC_WPT_LP},
@@ -756,12 +762,6 @@ static const struct pci_device_id lpc_ich_ids[] = {
        { PCI_VDEVICE(INTEL, 0x9cc6), LPC_WPT_LP},
        { PCI_VDEVICE(INTEL, 0x9cc7), LPC_WPT_LP},
        { PCI_VDEVICE(INTEL, 0x9cc9), LPC_WPT_LP},
-       { PCI_VDEVICE(INTEL, 0x229c), LPC_BRASWELL},
-       { PCI_VDEVICE(INTEL, 0x8cc1), LPC_9S},
-       { PCI_VDEVICE(INTEL, 0x8cc2), LPC_9S},
-       { PCI_VDEVICE(INTEL, 0x8cc3), LPC_9S},
-       { PCI_VDEVICE(INTEL, 0x8cc4), LPC_9S},
-       { PCI_VDEVICE(INTEL, 0x8cc6), LPC_9S},
        { 0, },                 /* End of list */
 };
 MODULE_DEVICE_TABLE(pci, lpc_ich_ids);
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to