Skip to contentSkip to conversation

staging: atomisp: use __func__ in debug message in atomisp_cmd.c

PATCH New Oskar Ray-Frayssinet 1 participant 1 message Mar 1

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: atomisp: use __func__ in debug message in atomisp_cmd.c

Replace hardcoded function name string with __func__ macro in dev_dbg call as recommended by kernel coding style.

---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +1 -1
index de0446997154..be916ca13453 100644
@@ -4010,7 +4010,7 @@ static int css_input_resolution_changed(struct atomisp_sub_device *asd,
 	struct atomisp_metadata_buf *md_buf = NULL, *_md_buf;
 	unsigned int i;
 
-	dev_dbg(asd->isp->dev, "css_input_resolution_changed to %ux%u\n",
+	dev_dbg(asd->isp->dev, "%s: to %ux%u\n", __func__,
 		ffmt->width, ffmt->height);
 
 	if (IS_ISP2401)
Signature · 1 line
2.43.0