diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-07-26 19:41:21 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 20:35:21 +0200 |
commit | 07d4e9af109221ab731c5aaf832e89776c64b013 (patch) | |
tree | 05d05620af7b1b009f48dbad5f38004b682db271 /drivers/pnp/system.c | |
parent | PNP: Lindent all source files (diff) | |
download | linux-07d4e9af109221ab731c5aaf832e89776c64b013.tar.xz linux-07d4e9af109221ab731c5aaf832e89776c64b013.zip |
PNP: fix up after Lindent
These are manual fixups after running Lindent. No functional change.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/system.c')
-rw-r--r-- | drivers/pnp/system.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/pnp/system.c b/drivers/pnp/system.c index 8d71008accba..a06f980b3ac9 100644 --- a/drivers/pnp/system.c +++ b/drivers/pnp/system.c @@ -45,8 +45,7 @@ static void reserve_range(const char *pnpid, resource_size_t start, * example do reserve stuff they know about too, so we may well * have double reservations. */ - printk(KERN_INFO - "pnp: %s: %s range 0x%llx-0x%llx %s reserved\n", + printk(KERN_INFO "pnp: %s: %s range 0x%llx-0x%llx %s reserved\n", pnpid, port ? "ioport" : "iomem", (unsigned long long)start, (unsigned long long)end, NULL != res ? "has been" : "could not be"); @@ -85,8 +84,6 @@ static void reserve_resources_of_dev(const struct pnp_dev *dev) reserve_range(dev->dev.bus_id, pnp_mem_start(dev, i), pnp_mem_end(dev, i), 0); } - - return; } static int system_pnp_probe(struct pnp_dev *dev, @@ -97,11 +94,10 @@ static int system_pnp_probe(struct pnp_dev *dev, } static struct pnp_driver system_pnp_driver = { - .name = "system", + .name = "system", .id_table = pnp_dev_table, - .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, - .probe = system_pnp_probe, - .remove = NULL, + .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, + .probe = system_pnp_probe, }; static int __init pnp_system_init(void) |