commit | 95b54e1e10eb32c465d1028dd119ee790afe4a01 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Mon Jul 04 22:10:13 2016 +0200 |
committer | Richard Weinberger <richard@nod.at> | Fri Jul 29 23:31:54 2016 +0200 |
tree | c7e4a5af521227e7194460502eccb308a435bc60 | |
parent | dccbc9197d2c3614f2fd6811874e1d982e4415f0 [diff] |
ubi: gluebi: Fix double refcounting There is no need to call get/put on the module reference in gluebi_get/put_device() callbacks. Since mtd->owner is the gluebi module itself mtdcore.c will take care of proper refcounting in __get/put_mtd_device() before executing the callbacks. Signed-off-by: Richard Weinberger <richard@nod.at>