diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-12-07 16:11:45 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-12-07 16:23:40 -0500 |
commit | 9fea84f46a821aa1ff2d034ffda8ad33bff48015 (patch) | |
tree | fba7293e771309970d3f20fc9d3ce73f49f90a33 /drivers/pcmcia/socket_sysfs.c | |
parent | e15c1c1f3f903f679c9782b540f9d52c80c99610 (diff) |
pcmcia: CodingStyle fixes
Fix several CodingStyle issues in drivers/pcmcia/ . checkpatch.pl no longer
reports errors in the PCMCIA core. The remaining warnings mostly relate to
wrong indent -- PCMCIA historically used 4 spaces --, to lines over 80
characters and to hundreds of typedefs. The cleanup of those will follow
in the future.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/socket_sysfs.c')
-rw-r--r-- | drivers/pcmcia/socket_sysfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/socket_sysfs.c b/drivers/pcmcia/socket_sysfs.c index 78d5aab542f7..7a456000332a 100644 --- a/drivers/pcmcia/socket_sysfs.c +++ b/drivers/pcmcia/socket_sysfs.c | |||
@@ -164,7 +164,7 @@ static ssize_t pccard_store_irq_mask(struct device *dev, | |||
164 | if (!count) | 164 | if (!count) |
165 | return -EINVAL; | 165 | return -EINVAL; |
166 | 166 | ||
167 | ret = sscanf (buf, "0x%x\n", &mask); | 167 | ret = sscanf(buf, "0x%x\n", &mask); |
168 | 168 | ||
169 | if (ret == 1) { | 169 | if (ret == 1) { |
170 | s->irq_mask &= mask; | 170 | s->irq_mask &= mask; |
@@ -278,7 +278,7 @@ static ssize_t pccard_extract_cis(struct pcmcia_socket *s, char *buf, loff_t off | |||
278 | free_tuple: | 278 | free_tuple: |
279 | kfree(tuplebuffer); | 279 | kfree(tuplebuffer); |
280 | 280 | ||
281 | return (ret); | 281 | return ret; |
282 | } | 282 | } |
283 | 283 | ||
284 | static ssize_t pccard_show_cis(struct kobject *kobj, | 284 | static ssize_t pccard_show_cis(struct kobject *kobj, |
@@ -308,7 +308,7 @@ static ssize_t pccard_show_cis(struct kobject *kobj, | |||
308 | count = pccard_extract_cis(s, buf, off, count); | 308 | count = pccard_extract_cis(s, buf, off, count); |
309 | } | 309 | } |
310 | 310 | ||
311 | return (count); | 311 | return count; |
312 | } | 312 | } |
313 | 313 | ||
314 | static ssize_t pccard_store_cis(struct kobject *kobj, | 314 | static ssize_t pccard_store_cis(struct kobject *kobj, |