public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] drivers/pci/pcie/portdrv_pci.c: coding style fixes
@ 2014-04-13  7:49 Fabian Frederick
  2014-04-15  0:25 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frederick @ 2014-04-13  7:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, linux-pci

Move __initdata before equal sign
printk(KERN_WARNING converted to pr_warn

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 drivers/pci/pcie/portdrv_pci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
index 0d8fdc4..14eb431 100644
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -402,7 +402,7 @@ static int __init dmi_pcie_pme_disable_msi(const struct dmi_system_id *d)
 	return 0;
 }
 
-static struct dmi_system_id __initdata pcie_portdrv_dmi_table[] = {
+static struct dmi_system_id pcie_portdrv_dmi_table[] __initdata = {
 	/*
 	 * Boxes that should not use MSI for PCIe PME signaling.
 	 */
@@ -429,7 +429,7 @@ static int __init pcie_portdrv_init(void)
 
 	retval = pcie_port_bus_register();
 	if (retval) {
-		printk(KERN_WARNING "PCIE: bus_register error: %d\n", retval);
+		pr_warn("PCIE: bus_register error: %d\n", retval);
 		goto out;
 	}
 	retval = pci_register_driver(&pcie_portdriver);
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-15  0:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13  7:49 [PATCH 1/1] drivers/pci/pcie/portdrv_pci.c: coding style fixes Fabian Frederick
2014-04-15  0:25 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox