block: make printk_partition use the class iterator function
commit5c6f35c5ece8f130cd8ec9ba0d71dc146b46a0f1
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 May 2008 21:21:08 +0000 (22 17:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:48 +0000 (21 21:54 -0700)
treef1e109f09aff9ecfb57b25bc14e5a07e91a2286a
parent6ffeea77ff014f1456fcd0564eac84b34e9535ca
block: make printk_partition use the class iterator function

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