printk: register_console: use "registered" for variable names
authorJohn Ogness <john.ogness@linutronix.de>
Wed, 16 Nov 2022 16:21:16 +0000 (17:27 +0106)
committerPetr Mladek <pmladek@suse.com>
Fri, 2 Dec 2022 10:24:59 +0000 (11:24 +0100)
commit1145703612462b9bab2a325c305408ebfb6de304
treee37dba10f5d27e56fbb3c112806b2b09dd23fd67
parent6c4afa79147e4aa86665795695ac4a5f25e73176
printk: register_console: use "registered" for variable names

The @bootcon_enabled and @realcon_enabled local variables actually
represent if such console types are registered. In general there
has been a confusion about enabled vs. registered. Incorrectly
naming such variables promotes such confusion.

Rename the variables to _registered.

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/20221116162152.193147-5-john.ogness@linutronix.de
kernel/printk/printk.c