[PATCH] drm/bridge/analogix/dp_core: Use devm_platform_ioremap_resource() to simplify code

2021-07-21 Thread Tang Bin
Use devm_platform_ioremap_resource() instead of platform_get_resource() & devm_ioremap_resource(). Signed-off-by: Tang Bin --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/anal

[PATCH] drm/etnaviv: Omit superfluous error message in etnaviv_gpu_platform_probe()

2020-04-18 Thread Tang Bin
In the function etnaviv_gpu_platform_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here. Signed-off-by: Tang Bin --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a

[PATCH] drm/tegra: dc: Use devm_platform_ioremap_resource() to simplify code

2020-04-17 Thread Tang Bin
Use devm_platform_ioremap_resource() instead of platform_get_resource()+ devm_ioremap_resource(). Signed-off-by: Tang Bin --- drivers/gpu/drm/tegra/dc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index

[PATCH] drm/tegra: dc: Omit superfluous error message in tegra_dc_probe()

2020-04-17 Thread Tang Bin
In the function tegra_dc_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here. Signed-off-by: Tang Bin --- drivers/gpu/drm/tegra/dc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tegra

Re: [PATCH] drm/dp_mst: Fix drm_dp_mst_topology.c selftest compilation warning

2020-04-15 Thread Tang Bin
Hi Jani: On 2020/4/14 19:08, Jani Nikula wrote: On Mon, 13 Apr 2020, Alex Deucher wrote: On Mon, Apr 13, 2020 at 5:29 AM Tang Bin wrote: The struct drm_dp_desc contains struct drm_dp_dpcd_ident, and the struct drm_dp_dpcd_ident contains the array, so zero-initialization requires a more

[PATCH] drm/dp_mst: Fix drm_dp_mst_topology.c selftest compilation warning

2020-04-13 Thread Tang Bin
'drm_dp_mst_dsc_aux_for_port': drivers/gpu/drm/drm_dp_mst_topology.c:5494:9: warning: missing braces around initializer [-Wmissing-braces] struct drm_dp_desc desc = { 0 }; Signed-off-by: Tang Bin Signed-off-by: Shengju Zhang --- drivers/gpu/drm/drm_dp_mst_topology.c | 2

[PATCH] video: fbdev: don't print error message on platform_get_irq() failure

2020-04-06 Thread Tang Bin
The platform_get_irq() can print error message,so remove the redundant dev_err() here. Signed-off-by: Tang Bin --- drivers/video/fbdev/atmel_lcdfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/atmel_lcdfb.c b/drivers/video/fbdev/atmel_lcdfb.c index d567f5d56