panic: use str_enabled_disabled() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 8 Oct 2022 19:59:14 +0000 (22:59 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Nov 2022 21:55:06 +0000 (13:55 -0800)
commit5d5dd3e4a86a64cc69fa0fdd32f769b1d97a9a83
tree0c09d992126733526ae8fbe44af3ea3ee0ac65cd
parent6a6d7602caec1b49dda423b0d15a8c4f72c9c73d
panic: use str_enabled_disabled() helper

Use str_enabled_disabled() helper instead of open coding the same.

Link: https://lkml.kernel.org/r/20221008195914.54199-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/panic.c