Message ID | 1346128683-21487-1-git-send-email-marcos.souza.org@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c index de36693..a53fb7d 100644 --- a/drivers/video/jz4740_fb.c +++ b/drivers/video/jz4740_fb.c @@ -807,12 +807,7 @@ static int jzfb_resume(struct device *dev) return 0; } -static const struct dev_pm_ops jzfb_pm_ops = { - .suspend = jzfb_suspend, - .resume = jzfb_resume, - .poweroff = jzfb_suspend, - .restore = jzfb_resume, -}; +static SIMPLE_DEV_PM_OPS(jzfb_pm_ops, jzfb_suspend, jzfb_resume); #define JZFB_PM_OPS (&jzfb_pm_ops)
Just a cleanup, not functional changes. Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> --- Just compile test. Please double check. drivers/video/jz4740_fb.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)