commit | 6716d289c437ad42dee455d241b29b71a816fbff | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Jan 10 08:57:28 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 10 14:13:59 2014 -0800 |
tree | 44e0a780d1edf781bedde8d9bd7c66b678ffd0da | |
parent | 1ae06819c77cff1ea2833c94f8c093fe8a5c79db [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>