drm/vc4: Get the rid of DRM_ERROR()

DRM_ERROR() has been deprecated in favor of pr_err(). However, we
should prefer to use drm_err() whenever possible so we get device-
specific output with the error message. In error case of kcalloc,
we can simply drop DRM_ERROR(), because kcalloc already logs errors.

Suggested-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240821214052.6800-4-wahrenst@gmx.net
This commit is contained in:
Stefan Wahren 2024-08-21 23:40:46 +02:00 • committed by Maíra Canal
commit 59ac702a93
No known key found for this signature in database
GPG key ID: 6E388F05AB35B7CF
10 changed files with 70 additions and 67 deletions