summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2021-02-09 22:13:25 +0100
committerLee Jones <lee.jones@linaro.org>2021-02-12 10:01:45 +0000
commit0b5e0f45af403cb6e9df574e1cb52691611dc0b8 (patch)
tree6c3ba88b8a35abf5525655d8bb79d030b1c89fe9 /drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c
parent57e0d7b7f8663d0a3a5facc83c445ffc9802ad65 (diff)
backlight/video: Use Platform getter/setter functions
Use getter and setter functions, for platform_device structures and a spi_device structure. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c')
-rw-r--r--drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c
index e3d441ade241..2c03608addcd 100644
--- a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c
+++ b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c
@@ -713,7 +713,7 @@ static int hdmi5_bind(struct device *dev, struct device *master, void *data)
int irq;
hdmi.pdev = pdev;
- dev_set_drvdata(&pdev->dev, &hdmi);
+ platform_set_drvdata(pdev, &hdmi);
mutex_init(&hdmi.lock);
spin_lock_init(&hdmi.audio_playing_lock);