summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/build.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-07-04 20:10:13 (GMT)
committerRichard Weinberger <richard@nod.at>2016-07-29 21:31:54 (GMT)
commit95b54e1e10eb32c465d1028dd119ee790afe4a01 (patch)
treec7e4a5af521227e7194460502eccb308a435bc60 /drivers/mtd/ubi/build.c
parentdccbc9197d2c3614f2fd6811874e1d982e4415f0 (diff)
downloadlinux-95b54e1e10eb32c465d1028dd119ee790afe4a01.tar.xz
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>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
0 files changed, 0 insertions, 0 deletions