common/dpaax/caamflib: simplify log macros
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 5 Nov 2020 21:17:15 +0000 (22:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Mar 2021 07:41:05 +0000 (08:41 +0100)
commit69cb391787271e68dd6d1c067db32305e471553f
treee92e6c3a00bc96e35bf8318234428d62df99571d
parent8bf3ff3c37ec1786470dfa7b8056e3304bbba14f
common/dpaax/caamflib: simplify log macros

Simplify pr_debug, pr_err and pr_warn macros by adding an intermediate
pr_msg macro. This way we only need to test for SUPPRESS_PRINTS once.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
drivers/common/dpaax/caamflib/compat.h