Commit d54d334e authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Felipe Balbi

usb: renesas_usbhs: Use SIMPLE_DEV_PM_OPS macro

This patch uses SIMPLE_DEV_PM_OPS macro instead of struct dev_pm_ops
directly.
Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent b01828e2
...@@ -874,10 +874,7 @@ static int usbhsc_resume(struct device *dev) ...@@ -874,10 +874,7 @@ static int usbhsc_resume(struct device *dev)
return 0; return 0;
} }
static const struct dev_pm_ops usbhsc_pm_ops = { static SIMPLE_DEV_PM_OPS(usbhsc_pm_ops, usbhsc_suspend, usbhsc_resume);
.suspend = usbhsc_suspend,
.resume = usbhsc_resume,
};
static struct platform_driver renesas_usbhs_driver = { static struct platform_driver renesas_usbhs_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment