diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-10-12 10:11:19 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-12 10:13:00 -0400 |
commit | a0ea22c3d912de6044f83b07dcc26ee006106139 (patch) | |
tree | c3201042559ee343d03ebcd8e4a27ea33ee8de60 /drivers/s390/cio | |
parent | 3a2fbff228f773e3628bc26a688d40b2214af025 (diff) |
[S390] cio: Minor style fixes.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
-rw-r--r-- | drivers/s390/cio/chp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/s390/cio/chp.c b/drivers/s390/cio/chp.c index 8ce4ff95cc9c..3d49919a4517 100644 --- a/drivers/s390/cio/chp.c +++ b/drivers/s390/cio/chp.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/jiffies.h> | 14 | #include <linux/jiffies.h> |
15 | #include <linux/wait.h> | 15 | #include <linux/wait.h> |
16 | #include <linux/mutex.h> | 16 | #include <linux/mutex.h> |
17 | #include <asm/errno.h> | 17 | #include <linux/errno.h> |
18 | #include <asm/chpid.h> | 18 | #include <asm/chpid.h> |
19 | #include <asm/sclp.h> | 19 | #include <asm/sclp.h> |
20 | 20 | ||
@@ -86,7 +86,7 @@ u8 chp_get_sch_opm(struct subchannel *sch) | |||
86 | 86 | ||
87 | opm = 0; | 87 | opm = 0; |
88 | chp_id_init(&chpid); | 88 | chp_id_init(&chpid); |
89 | for (i=0; i < 8; i++) { | 89 | for (i = 0; i < 8; i++) { |
90 | opm <<= 1; | 90 | opm <<= 1; |
91 | chpid.id = sch->schib.pmcw.chpid[i]; | 91 | chpid.id = sch->schib.pmcw.chpid[i]; |
92 | if (chp_get_status(chpid) != 0) | 92 | if (chp_get_status(chpid) != 0) |
@@ -118,7 +118,7 @@ static int s390_vary_chpid(struct chp_id chpid, int on) | |||
118 | 118 | ||
119 | sprintf(dbf_text, on?"varyon%x.%02x":"varyoff%x.%02x", chpid.cssid, | 119 | sprintf(dbf_text, on?"varyon%x.%02x":"varyoff%x.%02x", chpid.cssid, |
120 | chpid.id); | 120 | chpid.id); |
121 | CIO_TRACE_EVENT( 2, dbf_text); | 121 | CIO_TRACE_EVENT(2, dbf_text); |
122 | 122 | ||
123 | status = chp_get_status(chpid); | 123 | status = chp_get_status(chpid); |
124 | if (!on && !status) { | 124 | if (!on && !status) { |
@@ -353,7 +353,7 @@ static ssize_t chp_shared_show(struct device *dev, | |||
353 | 353 | ||
354 | static DEVICE_ATTR(shared, 0444, chp_shared_show, NULL); | 354 | static DEVICE_ATTR(shared, 0444, chp_shared_show, NULL); |
355 | 355 | ||
356 | static struct attribute * chp_attrs[] = { | 356 | static struct attribute *chp_attrs[] = { |
357 | &dev_attr_status.attr, | 357 | &dev_attr_status.attr, |
358 | &dev_attr_configure.attr, | 358 | &dev_attr_configure.attr, |
359 | &dev_attr_type.attr, | 359 | &dev_attr_type.attr, |