Exemplo n.º 1
0
static void exynos_dp_unbind(struct device *dev, struct device *master,
				void *data)
{
	struct exynos_dp_device *dp = dev_get_drvdata(dev);

	exynos_dp_dpms(&dp->display, DRM_MODE_DPMS_OFF);
}
Exemplo n.º 2
0
static int exynos_dp_resume(struct device *dev)
{
	struct exynos_dp_device *dp = dev_get_drvdata(dev);

	exynos_dp_dpms(&dp->display, DRM_MODE_DPMS_ON);
	return 0;
}
Exemplo n.º 3
0
static int exynos_dp_resume(struct device *dev)
{
	struct platform_device *pdev = to_platform_device(dev);
	struct exynos_drm_display *display = platform_get_drvdata(pdev);

	exynos_dp_dpms(display, DRM_MODE_DPMS_ON);
	return 0;
}