Searched hist:a872ab4d (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | tty.h | a872ab4d Tue Mar 02 00:22:05 CST 2021 Jiri Slaby <jslaby@suse.cz> tty: let tty_unregister_driver return void
Now that noone checks the return value, switch the return type of tty_unregister_driver to void. We can do that as we always return zero.
Generally, drivers are not allowed to call tty_unregister_driver while there are open devices.
Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210302062214.29627-35-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/tty/ |
H A D | tty_io.c | a872ab4d Tue Mar 02 00:22:05 CST 2021 Jiri Slaby <jslaby@suse.cz> tty: let tty_unregister_driver return void
Now that noone checks the return value, switch the return type of tty_unregister_driver to void. We can do that as we always return zero.
Generally, drivers are not allowed to call tty_unregister_driver while there are open devices.
Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210302062214.29627-35-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|