From: Tejun Heo Date: Mon, 3 Feb 2014 19:03:02 +0000 (-0500) Subject: pci: use device_remove_file_self() instead of device_schedule_callback() X-Git-Tag: v3.15-rc1~140^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc6caf02cccedd30c9458e26dfdd8118af574ae5;p=pandora-kernel.git 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 Cc: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed