diff options
author | Richard Weinberger <richard@nod.at> | 2016-09-21 12:43:56 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-09-28 23:00:45 +0300 |
commit | 5e149073ba427f99c5e751e558670d034a278f77 (patch) | |
tree | d771a8c58a62f21ef378106b4cff4580a2e6f31b /drivers/mtd/nand/sh_flctl.c | |
parent | f6d7c1b5598b6407c3f1da795dd54acf99c1990c (diff) | |
download | linux-5e149073ba427f99c5e751e558670d034a278f77.tar.xz |
mtdpart: Propagate _get/put_device()
If the master device has callbacks for _get/put_device()
and this MTD has slaves a get_mtd_device() call on paritions
will never issue the registered callbacks.
Fix this by propagating _get/put_device() down.
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/sh_flctl.c')
0 files changed, 0 insertions, 0 deletions