serial: sirf: use PM macro initialize PM functions
authorQipan Li <Qipan.Li@csr.com>
Fri, 3 Jan 2014 07:44:06 +0000 (15:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 01:09:04 +0000 (17:09 -0800)
commit99e626f50477e3b14c9be43892c33ab75b2e5bf9
tree14bcec51b6a05177561c7edf02a7200b60b3db82
parent093a9e2a20ebc414f8ca0d31709dab1040fa2886
serial: sirf: use PM macro initialize PM functions

use SET_SYSTEM_SLEEP_PM_OPS to initialize suspend/resume functions
instead of legacy suspend and resume entries of platform_driver.
this will add hibernation support automatically as suspend to disk
entries are also set.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.c
This page took 0.025278 seconds and 5 git commands to generate.