commit | 277af429fb40cf484c4a76c0b4cde2afc3e0c3d0 | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | Thu Dec 10 08:59:46 2015 +0100 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Dec 18 10:25:02 2015 -0800 |
tree | 17836cebdd78324ba642f03d37daede4cddefa23 | |
parent | ce7f28531fe05fcabc8ccff8b6dc9b4b296a811e [diff] |
mtd: nand: fsmc: create and use mtd_to_fsmc() Create and use mtd_to_fsmc() to avoid duplication of container_of(mtd, struct fsmc_nand_data, mtd) calls. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>