media: staging: media: atomisp: replace raw pr_*() by dev_dbg()
authorDeepak R Varma <drv@mailo.com>
Wed, 28 Apr 2021 18:09:55 +0000 (20:09 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 19 May 2021 07:51:38 +0000 (09:51 +0200)
commit2dfc978ac0f3aaa5de4eb604ef7f35bacd077a03
tree9ef166096ab14e2311fbd915f0183b5ac3c45405
parent4c999ae366e13bdf1f961fdf4c4cefe3d772f275
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>
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c