• Christoph Hellwig's avatar
    [PATCH] fix i2c module handling · 84fed9da
    Christoph Hellwig authored
    Add a struct module *owner field to struct i2c_adapter and i2c_algorithm
    and do refcouting on them before use instead of the inc_use and dec_use
    callbacks.  While at it convert those structures to named initializers.
    84fed9da
adm1021.c 18.3 KB