console: Use BIT() macros for @flags values
authorThomas Gleixner <tglx@linutronix.de>
Mon, 9 Jan 2023 10:07:54 +0000 (11:13 +0106)
committerPetr Mladek <pmladek@suse.com>
Wed, 11 Jan 2023 14:35:11 +0000 (15:35 +0100)
commit717a5651b10940ec827fe07acfb956d906250b2b
treeda05da1404cbe2a518e78802e9e556939a80dcb6
parent2364b406824f1f42026d87c1e26d4dd1ca0f65af
console: Use BIT() macros for @flags values

Rather than manually calculating powers of 2, use the BIT() macros.
Also take this opportunatity to cleanup and restructure the value
comments into proper kerneldoc comments.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230109100800.1085541-3-john.ogness@linutronix.de
include/linux/console.h