Commit 2a9d3521 authored by Alex Chiang's avatar Alex Chiang Committed by Jesse Barnes

PCI hotplug: acpiphp whitespace cleanup

Clean up whitespace.

Setting 'let c_space_errors=1' in .vimrc shows all sorts of
ugliness. ;)
Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 104bafcf
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
do { \ do { \
if (acpiphp_debug) \ if (acpiphp_debug) \
printk(KERN_DEBUG "%s: " format, \ printk(KERN_DEBUG "%s: " format, \
MY_NAME , ## arg); \ MY_NAME , ## arg); \
} while (0) } while (0)
#define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg) #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
#define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg) #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
......
...@@ -167,9 +167,9 @@ static int post_dock_fixups(struct notifier_block *nb, unsigned long val, ...@@ -167,9 +167,9 @@ static int post_dock_fixups(struct notifier_block *nb, unsigned long val,
if (((buses >> 8) & 0xff) != bus->secondary) { if (((buses >> 8) & 0xff) != bus->secondary) {
buses = (buses & 0xff000000) buses = (buses & 0xff000000)
| ((unsigned int)(bus->primary) << 0) | ((unsigned int)(bus->primary) << 0)
| ((unsigned int)(bus->secondary) << 8) | ((unsigned int)(bus->secondary) << 8)
| ((unsigned int)(bus->subordinate) << 16); | ((unsigned int)(bus->subordinate) << 16);
pci_write_config_dword(bus->self, PCI_PRIMARY_BUS, buses); pci_write_config_dword(bus->self, PCI_PRIMARY_BUS, buses);
} }
return NOTIFY_OK; return NOTIFY_OK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment