]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[PATCH] driver core: add helper device_is_registered()
authorDaniel Ritz <daniel.ritz@gmx.ch>
Thu, 22 Sep 2005 07:47:24 +0000 (00:47 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 22 Sep 2005 14:58:24 +0000 (07:58 -0700)
commitd305ef5d2a4e77bfa66160513f4a7494126a506b
treef70f435571fb6c4d520fea0f3c769a2a6df73f84
parent4c898c7f2f286b204fefc5dddb568f755d195d0c
[PATCH] driver core: add helper device_is_registered()

add the helper and use it instead of open coding the klist_node_attached() check
(which is a layering violation IMHO)

idea by Alan Stern.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/cio/ccwgroup.c
drivers/usb/core/message.c
drivers/usb/core/usb.c
include/linux/device.h