Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f10f1247 authored by Samantha Tran's avatar Samantha Tran Committed by Gerrit - the friendly Code Review server
Browse files

Revert "drm/msm: mark PM functions as __maybe_unused"



This reverts commit 78918cd0.

This reversion is happening as a result of disabling the
disp/dpu directory as it will not be used in 4.19 downstream
display driver and these changes are made in the common layer
which affects the downstream driver functionalities. Separate
patches are submitted to revert the upstream driver and
introduce the downstream version of display driver.

Change-Id: I14ac980cf68048111a7eebe49d124aa6a4dd0792
Signed-off-by: default avatarSamantha Tran <samtran@codeaurora.org>
parent 423849f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1258,7 +1258,7 @@ static int dpu_dev_remove(struct platform_device *pdev)
	return 0;
}

static int __maybe_unused dpu_runtime_suspend(struct device *dev)
static int dpu_runtime_suspend(struct device *dev)
{
	int rc = -1;
	struct platform_device *pdev = to_platform_device(dev);
@@ -1285,7 +1285,7 @@ static int __maybe_unused dpu_runtime_suspend(struct device *dev)
	return rc;
}

static int __maybe_unused dpu_runtime_resume(struct device *dev)
static int dpu_runtime_resume(struct device *dev)
{
	int rc = -1;
	struct platform_device *pdev = to_platform_device(dev);