diff options
| author | 2021-03-02 07:22:05 +0100 | |
|---|---|---|
| committer | 2021-03-10 09:34:09 +0100 | |
| commit | a872ab4d6d191cca1ce84b945e394bd6a8d84dd9 (patch) | |
| tree | bf12a1be5a8d5fdca8ae92d92543991d6b748ded /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | tty: do not check tty_unregister_driver's return value (diff) | |
| download | linux-dev-a872ab4d6d191cca1ce84b945e394bd6a8d84dd9.tar.xz linux-dev-a872ab4d6d191cca1ce84b945e394bd6a8d84dd9.zip | |
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>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
