[PATCH] s390: introduce for_each_subchannel
authorCornelia Huck <cohuck@de.ibm.com>
Fri, 6 Jan 2006 08:19:22 +0000 (00:19 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:51 +0000 (08:33 -0800)
commitf97a56fb768e5fe9cd07c56ca47870136bb5530c
tree05108317a0cca7aa04cd68f4fcb7b7d3a295ddfa
parenta8237fc4108060402d904bea5e1062e22e731969
[PATCH] s390: introduce for_each_subchannel

for_each_subchannel() is an iterator calling a function for every possible
subchannel id until non-zero is returned.  Convert the current iterating
functions to it.

Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/cio/blacklist.c
drivers/s390/cio/chsc.c
drivers/s390/cio/cio.c
drivers/s390/cio/css.c
drivers/s390/cio/css.h