Commit 95b54e1e authored by Richard Weinberger's avatar Richard Weinberger
Browse files

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: default avatarRichard Weinberger <richard@nod.at>
parent dccbc919
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment