x86/early-quirks: Rename duplicate define of dev_err
authorJoe Perches <joe@perches.com>
Wed, 9 May 2018 15:15:45 +0000 (08:15 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 13 May 2018 18:04:35 +0000 (20:04 +0200)
commita7a3153a98d581196ce092e0b83cac2c4ee1fd1f
tree096ca6f1bc7d950ffa8a4a27916e322fc01a1108
parent5f26c50143f58f256535bee8d93a105f36d4d2da
x86/early-quirks: Rename duplicate define of dev_err

dev_err is becoming a macro calling _dev_err to allow prefixing of
dev_fmt to any dev_<level> use that has a #define dev_fmt(fmt) similar
to the existing #define pr_fmt(fmt) uses.

Remove this dev_err macro and convert the existing two uses to pr_err.
This allows clean compilation in the patch that introduces dev_fmt which
can prefix dev_<level> logging macros with arbitrary content similar to
the #define pr_fmt macro.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lkml.kernel.org/r/8fb4b2a77d50e21ae1f7e4e267e68691efe2c270.1525878372.git.joe@perches.com
arch/x86/kernel/early-quirks.c