staging: sm7xx: smtcfb.c: Use the new PCI PM
authorJavier M. Mellid <jmunhoz@igalia.com>
Sat, 30 Apr 2011 15:44:25 +0000 (17:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:09:43 +0000 (12:09 -0700)
commit59815677555746f8263672f25cebcf4c27fc5d31
tree7b70e76814a7226b20da4b50be0da93aea865d8b
parent9ae62107fb9010e902e60259c6a461c68885d0c7
staging: sm7xx: smtcfb.c: Use the new PCI PM

The sm7xx driver uses the legacy PCI power management (suspend and
resume) callbacks.

This patch adds the new PCI PM and let the PCI core code handles the
PCI-specific details of power transitions.

Tested in 2.6.38, including standby and hibernation support.

Tested-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sm7xx/smtcfb.c