diff options
author | Tejun Heo <tj@kernel.org> | 2014-02-03 20:03:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-08 00:42:41 +0100 |
commit | bc6caf02cccedd30c9458e26dfdd8118af574ae5 (patch) | |
tree | 9c0f72f4ba0001d4ddcca7122a0243c2ccb1bb54 /net | |
parent | kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappers (diff) | |
download | linux-bc6caf02cccedd30c9458e26dfdd8118af574ae5.tar.xz linux-bc6caf02cccedd30c9458e26dfdd8118af574ae5.zip |
pci: use device_remove_file_self() instead of device_schedule_callback()
driver-core now supports synchrnous self-deletion of attributes and
the asynchrnous removal mechanism is scheduled for removal. Use it
instead of device_schedule_callback(). This makes "remove" behave
synchronously.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions