summaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorZac Storer <zac.3.14159@gmail.com>2011-11-18 07:07:49 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-01-06 21:10:31 +0100
commit68e35c9b0b9dfad1ec5d1e2858b9c7e2076763e5 (patch)
treeb29ecd519677c8a424472a6303e7d0e091b3f331 /drivers/pci/probe.c
parentPCI: pci_has_legacy_pm_support add driver and device to WARN (diff)
downloadlinux-68e35c9b0b9dfad1ec5d1e2858b9c7e2076763e5.tar.xz
linux-68e35c9b0b9dfad1ec5d1e2858b9c7e2076763e5.zip
PCI: fix a brace coding style issue in probe.c
Fixed a brace coding style issue. Signed-off-by: Zac Storer <zac.3.14159@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 04e74f485714..d5d0ab810f79 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1534,7 +1534,7 @@ struct pci_bus * pci_create_bus(struct device *parent,
return NULL;
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
- if (!dev){
+ if (!dev) {
kfree(b);
return NULL;
}