commit | 5e149073ba427f99c5e751e558670d034a278f77 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Wed Sep 21 11:43:56 2016 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Sep 28 13:00:45 2016 -0700 |
tree | d771a8c58a62f21ef378106b4cff4580a2e6f31b | |
parent | f6d7c1b5598b6407c3f1da795dd54acf99c1990c [diff] |
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>