sata_rcar: extend PM methods
authorMikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
Fri, 16 Jan 2015 23:00:36 +0000 (02:00 +0300)
committerTejun Heo <tj@kernel.org>
Mon, 19 Jan 2015 14:04:37 +0000 (09:04 -0500)
commit5bc27ef72719acb1cf745f16ce5583b57ea660aa
treee79a551c7845b8ad8aa7728fdac62e68cf7d5299
parent2de5a9c004e92aaf49b800e60820f7a030d42eb9
sata_rcar: extend PM methods

In order to make it possible to restore from hibernation not only in Linux but
also in e.g. U-Boot, we have to extend  sata_rcar_{suspend|resume}() to {freeze|
thaw}() PM  methods and implement  the  restore() PM method.

Signed-off-by: Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
[Sergei: killed unused variable, changed the order of initializers, modified
copyrights, renamed, modified changelog.]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c