Searched hist:"2 dfc978a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-gc0310.c | 2dfc978a Wed Apr 28 13:09:55 CDT 2021 Deepak R Varma <drv@mailo.com> media: staging: media: atomisp: replace raw pr_*() by dev_dbg()
It is recommended to use driver model diagnostic macros dev_*() instead of raw printk() or pr_*() since the former ensures that the log messages are always associated with the corresponding device and driver. This also addresses the checkpatch complain for not using KERN_<LEVEL> facility in printk() call.
Suggested-by: Fabio Aiuto <fabioaiuto83@gmail.com> Signed-off-by: Deepak R Varma <drv@mailo.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|