• Alan Stern's avatar
    Remove useless get_driver()/put_driver() calls · f3ff9247
    Alan Stern authored
    As part of the removal of get_driver()/put_driver(), this patch
    (as1512) gets rid of various useless and unnecessary calls in several
    drivers.  In some cases it may be desirable to pin the driver by
    calling try_module_get(), but that can be done later.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    CC: "David S. Miller" <davem@davemloft.net>
    CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    CC: Michael Buesch <m@bues.ch>
    CC: Joerg Roedel <joerg.roedel@amd.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
main.c 33 KB