projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4278ff6
)
drm/rockchip: inno_hdmi: Remove unused drm device pointer
author
Maxime Ripard
<mripard@kernel.org>
Fri, 22 Dec 2023 17:42:07 +0000
(18:42 +0100)
committer
Heiko Stuebner
<heiko@sntech.de>
Fri, 29 Dec 2023 23:38:25 +0000
(
00:38
+0100)
The drm_dev field in the inno_hdmi struct stores a pointer to the DRM
device but is never used anywhere in the driver. Let's remove it.
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/20231222174220.55249-17-knaerzche@gmail.com
drivers/gpu/drm/rockchip/inno_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/inno_hdmi.c
b/drivers/gpu/drm/rockchip/inno_hdmi.c
index bec91a14965bac7524a14ab678f938f4543d13c5..f17f0c4859d3ac4e9a3ff16238cbfaa726b0b006 100644
(file)
--- a/
drivers/gpu/drm/rockchip/inno_hdmi.c
+++ b/
drivers/gpu/drm/rockchip/inno_hdmi.c
@@
-43,7
+43,6
@@
struct inno_hdmi_i2c {
struct inno_hdmi {
struct device *dev;
- struct drm_device *drm_dev;
int irq;
struct clk *pclk;
@@
-756,7
+755,6
@@
static int inno_hdmi_bind(struct device *dev, struct device *master,
return -ENOMEM;
hdmi->dev = dev;
- hdmi->drm_dev = drm;
hdmi->regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(hdmi->regs))