[PATCH DRM] drm: msm: Use DRM_DEV_* instead of dev_*

Sam Ravnborg sam at ravnborg.org
Mon Oct 22 19:17:19 UTC 2018


Hi Mamta.

On Sat, Oct 20, 2018 at 11:19:26PM +0530, Mamta Shukla wrote:
> Use DRM_DEV_INFO/ERROR/WARN instead of dev_info/err/debug to generate
> drm-formatted specific log messages so that it will be easy to
> differentiate in case of multiple instances of driver.

While touching all these lines we could at the same time get
rid of the trailing "\n", which today is not needed.

But I dunno if this is a change that is welcomed.
Do not jump to do this until someone that knows
the DRM subsystems says OK.

Note: IMO we should only do this because we touch the lines
anyway. Removing '\n' without any other change is not worth
the code crunch.

	Sam


More information about the dri-devel mailing list