[PATCH] video: ipuv3: combine two subsequent info prints into one

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Apr 8 06:17:10 PDT 2022


Makes the logging more tidy that way.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/video/imx-ipu-v3/ipufb.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/video/imx-ipu-v3/ipufb.c b/drivers/video/imx-ipu-v3/ipufb.c
index 0b5391643450..09a8d22ca155 100644
--- a/drivers/video/imx-ipu-v3/ipufb.c
+++ b/drivers/video/imx-ipu-v3/ipufb.c
@@ -111,10 +111,8 @@ static int ipu_crtc_mode_set(struct ipufb_info *fbi,
 	struct ipu_di_mode di_mode = {};
 	u32 bus_format = 0;
 
-	dev_info(fbi->dev, "%s: mode->xres: %d\n", __func__,
-			mode->xres);
-	dev_info(fbi->dev, "%s: mode->yres: %d\n", __func__,
-			mode->yres);
+	dev_info(fbi->dev, "%s: mode->xres: %d mode->yres: %d\n", __func__,
+		 mode->xres, mode->yres);
 
 	vpl_ioctl(&fbi->vpl, 2 + fbi->dino, IMX_IPU_VPL_DI_MODE, &di_mode);
 	vpl_ioctl(&fbi->vpl, 2 + fbi->dino, VPL_GET_BUS_FORMAT, &bus_format);
-- 
2.30.2




More information about the barebox mailing list