diff options
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, |