MIPS: traps: Use str_enabled_disabled() in parity_protection_init()
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 9 Jan 2025 21:55:23 +0000 (22:55 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 11 Jan 2025 11:38:54 +0000 (12:38 +0100)
commit02bba947e47bea83e7ef9f664e3dc3b5a657b3b0
tree0c206a0da593e9f5ba6cf15dcccf9efd4d210e9b
parentddd068d81445b17ac0bed084dfeb9e58b4df3ddd
MIPS: traps: Use str_enabled_disabled() in parity_protection_init()

Remove hard-coded strings by using the str_enabled_disabled() helper
function.

Use pr_info() instead of printk(KERN_INFO) to silence multiple
checkpatch warnings.

Suggested-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/traps.c