[Linux-stable-mirror] [PATCH 3.18 60/69] PCI: Detach driver before procfs & sysfs teardown on device remove