staging: atomisp: use __func__ in debug message in atomisp_cmd.c
Subsystems (4)
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.
Signed-off-by Oskar Ray-Frayssinet <[email protected]>
--- 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
@@ -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