block: make proc files seq_start use the class_find_device()
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 May 2008 21:21:08 +0000 (17:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:49 +0000 (21:54 -0700)
commit68c4d4a7875c59f2e4b72901ab11ba978e75bde0
tree92c8024e282b4e5a18b156998c2efa3bc1783e32
parenta6e2ba88774bc5870ab3d9664cb86d70415f7402
block: make proc files seq_start use the class_find_device()

Use the proper class iterator function instead of mucking around in the
internals of the class structures.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/genhd.c