[patch 0/2] staging: speakup: safely unregister ldisc

From: Okash Khawaja
Date: Sun Jul 16 2017 - 11:11:59 EST


Hi,

These patches make sure that N_SPEAKUP is correctly unregistered when all
speakup related modules are unloaded, making sure the refcount correctly
represents the number of users.

Patch 1: simply adds functions to register and unregister ldisc, without
changing existing behaviour
Patch 2: uses those functions to register and unregister ldisc correctly

Thanks,
Okash