serial: 8250_core: Use str_enabled_disabled() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Oct 2022 17:16:33 +0000 (20:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 02:52:32 +0000 (03:52 +0100)
commit2cfc64f3f0e1c1136b1a8247e53dc24c54f0bf93
treefa265e2b59bc17d5996b343b56beb1de2937c47e
parent79d0224f6bf296d04cd843cfc49921b19c97bb09
serial: 8250_core: Use str_enabled_disabled() helper

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

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221017171633.65275-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c