serial: efi-stdio: replace globals with handles in priv struct
Despite assigning efi_sys_table->{con_in,con_out} to priv->{in,out},
some functions still use the global efi_sys_table->{con_in,con_out}.
Let's restrict globals access to the probe function and have the priv
struct completely describe input and output used in the callbacks.
No functional change.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c64a4a4 commit a3b0c7f17290d86e261bd35211e8f322ac97e749
@Ahmad Fatoum Ahmad Fatoum authored on 21 Oct 2019
Sascha Hauer committed on 23 Oct 2019
Showing 1 changed file
View
drivers/serial/efi-stdio.c