summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_pdc2027x.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2012-11-02 11:46:15 +0400
committerJeff Garzik <jgarzik@redhat.com>2012-12-03 14:14:07 +0400
commit941c77fd0f2f6f5964a3f9fba4e8779714faf832 (patch)
tree3cd8f36eb3bde779d70814d5fc3443ae3ba897c9 /drivers/ata/pata_pdc2027x.c
parent5416912af75de9cba5d1c75b99a7888b0bbbd2fb (diff)
downloadlinux-941c77fd0f2f6f5964a3f9fba4e8779714faf832.tar.xz
ahci_platform: enable hotplug unbinding
platform_driver_probe() should be used for registering this driver only if we want to "...remove its run-once probe() infrastructure from memory after the driver has bound to the device." However, we may want to leave the probe infrastructure in place in order to support binding/unbinding a device dynamically. This is useful, for instance, as a power management mechanism, where a device can be totally powered down when unbound (whereas with runtime power management, powering down the SATA core would incur unacceptable loss of functionality). Thus, convert this driver to use platform_driver_register(). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_pdc2027x.c')
0 files changed, 0 insertions, 0 deletions