projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdc630b
)
drm/tegra: Use SIMPLE_DEV_PM_OPS
author
Thierry Reding
<treding@nvidia.com>
Tue, 11 Aug 2015 11:22:44 +0000
(13:22 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Aug 2015 11:47:24 +0000
(13:47 +0200)
Use this macro to reduce some of the boilerplate.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/drm.c
b/drivers/gpu/drm/tegra/drm.c
index 497b4a07085dcfc891ea4a200424b289299f2aae..2b1b0912679437596833d43359cbdd4467542c45 100644
(file)
--- a/
drivers/gpu/drm/tegra/drm.c
+++ b/
drivers/gpu/drm/tegra/drm.c
@@
-1038,9
+1038,8
@@
static int host1x_drm_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops host1x_drm_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(host1x_drm_suspend, host1x_drm_resume)
-};
+static SIMPLE_DEV_PM_OPS(host1x_drm_pm_ops, host1x_drm_suspend,
+ host1x_drm_resume);
static const struct of_device_id host1x_drm_subdevs[] = {
{ .compatible = "nvidia,tegra20-dc", },