EDAC: Fix indentation issues in several EDAC drivers
authorColin Ian King <colin.king@canonical.com>
Fri, 9 Nov 2018 13:37:57 +0000 (13:37 +0000)
committerBorislav Petkov <bp@suse.de>
Sat, 10 Nov 2018 15:56:16 +0000 (16:56 +0100)
Replace spaces with tabs and insert missing indentation.

 [ bp: Rewrite commit message. ]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: "Arvind R." <arvino55@gmail.com>
CC: Mark Gross <mark.gross@intel.com>
CC: Mauro Carvalho Chehab <mchehab@kernel.org>
CC: Ranganathan Desikan <ravi@jetztechnologies.com>
CC: kernel-janitors@vger.kernel.org
CC: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20181109133757.21471-1-colin.king@canonical.com
drivers/edac/e752x_edac.c
drivers/edac/i3000_edac.c
drivers/edac/i5000_edac.c
drivers/edac/i7core_edac.c
drivers/edac/i82975x_edac.c

index b5de9a13ea3fee357cf3ca6273bc38129f2a10d6..de732dc2ef33e85bf71adbdaf709a0ed7b3fc785 100644 (file)
@@ -1446,8 +1446,8 @@ static int __init e752x_init(void)
 
        edac_dbg(3, "\n");
 
-       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
-       opstate_init();
+       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
+       opstate_init();
 
        pci_rc = pci_register_driver(&e752x_driver);
        return (pci_rc < 0) ? pci_rc : 0;
index 8085a32ec3bdbfb3e799224b0157e99d2ac67027..f564a4a8a4aec88cf1cfa1ebe9b4648c16d2a523 100644 (file)
@@ -508,8 +508,8 @@ static int __init i3000_init(void)
 
        edac_dbg(3, "MC:\n");
 
-       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
-       opstate_init();
+       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
+       opstate_init();
 
        pci_rc = pci_register_driver(&i3000_driver);
        if (pci_rc < 0)
index 53f24b18cd6134d6c8c90c5a7a6034d798b6ddcf..98bef13e313444d909b5f4f2c5ec938d67c5ca13 100644 (file)
@@ -1559,8 +1559,8 @@ static int __init i5000_init(void)
 
        edac_dbg(2, "MC:\n");
 
-       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
-       opstate_init();
+       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
+       opstate_init();
 
        pci_rc = pci_register_driver(&i5000_driver);
 
index 9ef448fef12f38b427b340be1e2cb645885addaa..40297550313ac90fa534a996187cd14af94fd5fe 100644 (file)
@@ -724,7 +724,7 @@ static ssize_t i7core_inject_type_store(struct device *dev,
                                        const char *data, size_t count)
 {
        struct mem_ctl_info *mci = to_mci(dev);
-struct i7core_pvt *pvt = mci->pvt_info;
+       struct i7core_pvt *pvt = mci->pvt_info;
        unsigned long value;
        int rc;
 
index d514e7a8fa4d455a58ba8aa88c1663ae6dbcce7c..ce1d6abfc6af571eb0ed3f375cd0bc390f0abc01 100644 (file)
@@ -648,8 +648,8 @@ static int __init i82975x_init(void)
 
        edac_dbg(3, "\n");
 
-       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
-       opstate_init();
+       /* Ensure that the OPSTATE is set correctly for POLL or NMI */
+       opstate_init();
 
        pci_rc = pci_register_driver(&i82975x_driver);
        if (pci_rc < 0)