diff options
author | Daniel Ritz <daniel.ritz@gmx.ch> | 2005-09-22 00:47:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-22 07:58:24 -0700 |
commit | d305ef5d2a4e77bfa66160513f4a7494126a506b (patch) | |
tree | f70f435571fb6c4d520fea0f3c769a2a6df73f84 /drivers/base/class.c | |
parent | 4c898c7f2f286b204fefc5dddb568f755d195d0c (diff) | |
download | kernel_samsung_smdk4412-d305ef5d2a4e77bfa66160513f4a7494126a506b.zip kernel_samsung_smdk4412-d305ef5d2a4e77bfa66160513f4a7494126a506b.tar.gz kernel_samsung_smdk4412-d305ef5d2a4e77bfa66160513f4a7494126a506b.tar.bz2 |
[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>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions