commit | bc6caf02cccedd30c9458e26dfdd8118af574ae5 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Feb 03 14:03:02 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 07 15:42:41 2014 -0800 |
tree | 9c0f72f4ba0001d4ddcca7122a0243c2ccb1bb54 | |
parent | 6b0afc2a21726b2d6b6aa441af40cafaf5405cc8 [diff] |
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>