n64: use pr_fmt to avoid duplicate string
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 25 Jan 2021 23:32:35 +0000 (15:32 -0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 21 Feb 2021 22:37:52 +0000 (23:37 +0100)
commitf1e19224f5948ae61ff9972d35d3cd7176815cd9
treed032f1d43b4061b0a9d74ada92dfadd372912c47
parentd9b2a2bbbb4d0bc89129504eb1503bb8506158ed
n64: use pr_fmt to avoid duplicate string

Instead of repeating the n64cart string all over the module use pr_fmt
macro and remove the duplicate string. Also, replace and with or in the
one of the error message.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/block/n64cart.c