• Dominik Brodowski's avatar
    [PCMCIA] True driver module locking · f2931afb
    Dominik Brodowski authored
    If we use try_module_get(driver->owner) at the right place (and
    module_put as well, of course), the check for (driver->use_count > 0)
    can't ever return true. So get rid of it, and add the proper module
    locking calls.
    
     ds.c |   22 +++++++---------------
     1 files changed, 7 insertions(+), 15 deletions(-)
    f2931afb
ds.c 26.5 KB