drm/zte: Replace include drmP.h with drm_print.h
Subsystems (2)
PATCH 1/1 drm/zte: Replace include drmP.h with drm_print.h
Remove drmP.h as it is not needed anymore since nothing it defines is used in these files and use drm_print.h instead as these files are using the debug macros defined there.
Signed-off-by Haneen Mohammed <[email protected]>
--- drivers/gpu/drm/zte/zx_drm_drv.c | 2 +- drivers/gpu/drm/zte/zx_hdmi.c | 2 +- drivers/gpu/drm/zte/zx_plane.c | 2 +- drivers/gpu/drm/zte/zx_tvenc.c | 2 +- drivers/gpu/drm/zte/zx_vga.c | 2 +- drivers/gpu/drm/zte/zx_vou.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/zte/zx_drm_drv.c +1 -1
@@ -24,7 +24,7 @@#include <drm/drm_gem_cma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_of.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_drm_drv.h" #include "zx_vou.h"
drivers/gpu/drm/zte/zx_hdmi.c +1 -1
@@ -23,7 +23,7 @@#include <drm/drm_crtc_helper.h> #include <drm/drm_edid.h> #include <drm/drm_of.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include <sound/hdmi-codec.h>
drivers/gpu/drm/zte/zx_plane.c +1 -1
@@ -14,7 +14,7 @@#include <drm/drm_gem_cma_helper.h> #include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_common_regs.h" #include "zx_drm_drv.h"
drivers/gpu/drm/zte/zx_tvenc.c +1 -1
@@ -15,7 +15,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_drm_drv.h" #include "zx_tvenc_regs.h"
drivers/gpu/drm/zte/zx_vga.c +1 -1
@@ -14,7 +14,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_drm_drv.h" #include "zx_vga_regs.h"
drivers/gpu/drm/zte/zx_vou.c +1 -1
@@ -21,7 +21,7 @@#include <drm/drm_gem_cma_helper.h> #include <drm/drm_of.h> #include <drm/drm_plane_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_common_regs.h" #include "zx_drm_drv.h"
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Haneen Mohammed
Remove
drmP.has it is not needed anymore since nothing it defines is used in these files and usedrm_print.hinstead as these files are using the debug macros defined there.Signed-off-by Haneen Mohammed <[email protected]>
Thanks for the patch, Haneen, this lgtm.
Reviewed-by Sean Paul <[email protected]>
Quoted 90 lines
--- drivers/gpu/drm/zte/zx_drm_drv.c | 2 +- drivers/gpu/drm/zte/zx_hdmi.c | 2 +- drivers/gpu/drm/zte/zx_plane.c | 2 +- drivers/gpu/drm/zte/zx_tvenc.c | 2 +- drivers/gpu/drm/zte/zx_vga.c | 2 +- drivers/gpu/drm/zte/zx_vou.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)drivers/gpu/drm/zte/zx_drm_drv.c +1
-1@@ -24,7 +24,7 @@#include <drm/drm_gem_cma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_of.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_drm_drv.h" #include "zx_vou.h" drivers/gpu/drm/zte/zx_hdmi.c +1
-1@@ -23,7 +23,7 @@#include <drm/drm_crtc_helper.h> #include <drm/drm_edid.h> #include <drm/drm_of.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include <sound/hdmi-codec.h> drivers/gpu/drm/zte/zx_plane.c +1
-1@@ -14,7 +14,7 @@#include <drm/drm_gem_cma_helper.h> #include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_common_regs.h" #include "zx_drm_drv.h" drivers/gpu/drm/zte/zx_tvenc.c +1
-1@@ -15,7 +15,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_drm_drv.h" #include "zx_tvenc_regs.h" drivers/gpu/drm/zte/zx_vga.c +1
-1@@ -14,7 +14,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_drm_drv.h" #include "zx_vga_regs.h" drivers/gpu/drm/zte/zx_vou.c +1
-1@@ -21,7 +21,7 @@#include <drm/drm_gem_cma_helper.h> #include <drm/drm_of.h> #include <drm/drm_plane_helper.h> -#include <drm/drmP.h> +#include <drm/drm_print.h> #include "zx_common_regs.h" #include "zx_drm_drv.h" Signature · 1 line
2.7.4
Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS