platform_legacy_suspend
ret = platform_legacy_suspend(dev, PMSG_SUSPEND);
ret = platform_legacy_suspend(dev, PMSG_FREEZE);
ret = platform_legacy_suspend(dev, PMSG_HIBERNATE);