ata: add ata port system PM callbacks
authorLin Ming <ming.m.lin@intel.com>
Mon, 5 Dec 2011 01:20:27 +0000 (09:20 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 9 Jan 2012 00:14:58 +0000 (19:14 -0500)
commit5ef41082912bdfcb33fa53b8dba2ad17dea2ef90
treeb63aff744994b75af6c3e5e5e70e01312027992e
parent54f57588463db1105f4a93b2902a6f95cb8f796a
ata: add ata port system PM callbacks

Change ata_host_request_pm to ata_port_request_pm which performs
port suspend/resume.

Add ata port type driver which implements port PM callbacks.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata-transport.c
drivers/ata/libata.h