From: Ye Xingchen
convert the fget() use to fdget().
Signed-off-by: Ye Xingchen
---
drivers/dma-buf/sync_file.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/dma-buf/sync_file.c b/drivers/dma-buf/sync_file.c
index af57799c86ce..222b13b1bdb8 100644
--- a
From: Ye Xingchen
convert the fget() use to fdget().
Signed-off-by: Ye Xingchen
---
drivers/dma-buf/dma-buf.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index aa4ea8530cb3..bf4980b6f80c 100644
--- a/dri
From: Ye Xingchen
Replace the open-code with dev_err_probe() to simplify the code.
Signed-off-by: Ye Xingchen
---
drivers/gpu/drm/xlnx/zynqmp_dp.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c
index
From: Ye Xingchen
Replace the open-code with dev_err_probe() to simplify the code.
Signed-off-by: Ye Xingchen
---
drivers/gpu/drm/tegra/dpaux.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c
index 3c
From: Ye Xingchen
Replace the open-code with dev_err_probe() to simplify the code.
Signed-off-by: Ye Xingchen
---
drivers/gpu/drm/bridge/simple-bridge.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/bridge/simple-bridge.c
b/drivers/gpu/drm/bridge/
From: Ye Xingchen
Replace the open-code with dev_err_probe() to simplify the code.
Signed-off-by: Ye Xingchen
---
drivers/gpu/drm/bridge/display-connector.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/bridge/display-connector.c
b/drivers/gpu/dr
From: Ye Xingchen
Convert platform_get_resource_byname(),devm_ioremap_resource() to a single
call to devm_platform_ioremap_resource_byname(), as this is exactly what
this function does.
Signed-off-by: Ye Xingchen
---
drivers/gpu/drm/omapdrm/dss/hdmi_wp.c | 3 +--
1 file changed, 1 insertion(+)
From: Ye Xingchen
link_hwss.h is included more than once in link_dpms.c .
Signed-off-by: Ye Xingchen
---
v1 -> v2
Fix the U+00A0 non-breaking space in the subject line.
drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/displa
From: Ye Xingchen
link_hwss.h is included more than once.
Signed-off-by: Ye Xingchen
---
drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
index 9
From: Ye Xingchen
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
Signed-off-by: Ye Xingchen
---
drivers/gpu/ipu-v3/ipu-prg.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions
From: Ye Xingchen
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
Signed-off-by: Ye Xingchen
---
drivers/gpu/ipu-v3/ipu-pre.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions
From: Ye Xingchen
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
Signed-off-by: Ye Xingchen
---
drivers/gpu/host1x/mipi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: ye xingchen
opp.h is included more than once.
Signed-off-by: ye xingchen
---
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 6475664baa8a.
From: ye xingchen
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
Signed-off-by: ye xingchen
---
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 +
1 file changed, 1 in
From: ye xingchen
drivers/gpu/drm/vc4/vc4_dsi.c :1822:13: error: 'struct drm_bridge' has
no member named 'of_node'.
Signed-off-by: ye xingchen
---
include/drm/drm_bridge.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
index 42f86327b4
From: ye xingchen
resource.h is included more than once.
Signed-off-by: ye xingchen
---
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
index
From: ye xingchen
Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.
Signed-off-by: ye xingchen
---
v2 -> v3
Fix the mistakes in v2.
drivers/video/fbdev/sh_mobile_lcdcfb
From: ye xingchen
Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.
Signed-off-by: ye xingchen
---
v1 -> v2
Add another patch about this in ./video/fbdev/
drivers/video
From: ye xingchen
Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.
Signed-off-by: ye xingchen
---
drivers/video/fbdev/sh_mobile_lcdcfb.c | 8
1 file changed,
From: ye xingchen
Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.
Signed-off-by: ye xingchen
---
drivers/video/backlight/lm3533_bl.c | 10 +-
drivers/video/ba
From: ye xingchen
Replace the open-code with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen
---
drivers/gpu/drm/i915/i915_mitigations.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_mitigations.c
b/drivers/gpu/drm/i915/i915_mi
From: ye xingchen
Replace the open-code with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
b/drivers/gpu/drm/amd/amdgpu/amdgp
From: ye xingchen
Replace the open-code with device_match_of_node().
Signed-off-by: ye xingchen
---
drivers/gpu/drm/drm_panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c
index f634371c717a..ba66ac1ad88a 100644
From: ye xingchen
Replace the open-code with device_match_of_node().
Signed-off-by: ye xingchen
---
drivers/gpu/drm/imx/imx-drm-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c
b/drivers/gpu/drm/imx/imx-drm-core.c
index e060fa6c
From: ye xingchen
Replace the open-code with device_match_of_node().
Signed-off-by: ye xingchen
---
drivers/gpu/drm/drm_bridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c
index 1545c50fd1c8..4a8cafe2b130 1006
25 matches
Mail list logo