diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-09-18 16:24:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-25 21:08:40 -0700 |
commit | 81107bf531d2524afbcd61f3b4ad57a71295d591 (patch) | |
tree | 8c4f985714432bee996720c2d8e4bcfbe3d70575 /fs | |
parent | f2eaae197f4590c4d96f31b09b0ee9067421a95c (diff) | |
download | linux-stable-81107bf531d2524afbcd61f3b4ad57a71295d591.tar.gz linux-stable-81107bf531d2524afbcd61f3b4ad57a71295d591.tar.bz2 linux-stable-81107bf531d2524afbcd61f3b4ad57a71295d591.zip |
Driver core: Remove unneeded routines from driver core
This patch (as783) simplifies the driver core slightly by removing four
unnecessary _get and _put methods.
It is vital that when a driver is removed from its bus's klist of
registered drivers, or when a device is removed from a driver's klist
of bound devices, that the klist updates complete synchronously.
Otherwise the kernel might try binding an unregistered driver to a
newly-registered device, or adding a device to the klist for a new
driver before it has been removed from the old driver's klist.
Since the removals must be synchronous, they don't need to update any
reference counts. Hence the _get and _put methods can be dispensed
with.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions