diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-07-26 13:41:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 14:35:21 -0400 |
commit | 07d4e9af109221ab731c5aaf832e89776c64b013 (patch) | |
tree | 05d05620af7b1b009f48dbad5f38004b682db271 /drivers/pnp/system.c | |
parent | 9dd78466c956ac4b4f38e12032dc4249ccf57ad1 (diff) |
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, | |||
45 | * example do reserve stuff they know about too, so we may well | 45 | * example do reserve stuff they know about too, so we may well |
46 | * have double reservations. | 46 | * have double reservations. |
47 | */ | 47 | */ |
48 | printk(KERN_INFO | 48 | printk(KERN_INFO "pnp: %s: %s range 0x%llx-0x%llx %s reserved\n", |
49 | "pnp: %s: %s range 0x%llx-0x%llx %s reserved\n", | ||
50 | pnpid, port ? "ioport" : "iomem", | 49 | pnpid, port ? "ioport" : "iomem", |
51 | (unsigned long long)start, (unsigned long long)end, | 50 | (unsigned long long)start, (unsigned long long)end, |
52 | NULL != res ? "has been" : "could not be"); | 51 | NULL != res ? "has been" : "could not be"); |
@@ -85,8 +84,6 @@ static void reserve_resources_of_dev(const struct pnp_dev *dev) | |||
85 | reserve_range(dev->dev.bus_id, pnp_mem_start(dev, i), | 84 | reserve_range(dev->dev.bus_id, pnp_mem_start(dev, i), |
86 | pnp_mem_end(dev, i), 0); | 85 | pnp_mem_end(dev, i), 0); |
87 | } | 86 | } |
88 | |||
89 | return; | ||
90 | } | 87 | } |
91 | 88 | ||
92 | static int system_pnp_probe(struct pnp_dev *dev, | 89 | static int system_pnp_probe(struct pnp_dev *dev, |
@@ -97,11 +94,10 @@ static int system_pnp_probe(struct pnp_dev *dev, | |||
97 | } | 94 | } |
98 | 95 | ||
99 | static struct pnp_driver system_pnp_driver = { | 96 | static struct pnp_driver system_pnp_driver = { |
100 | .name = "system", | 97 | .name = "system", |
101 | .id_table = pnp_dev_table, | 98 | .id_table = pnp_dev_table, |
102 | .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, | 99 | .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, |
103 | .probe = system_pnp_probe, | 100 | .probe = system_pnp_probe, |
104 | .remove = NULL, | ||
105 | }; | 101 | }; |
106 | 102 | ||
107 | static int __init pnp_system_init(void) | 103 | static int __init pnp_system_init(void) |