commit | d45bc58dd3bdcaabc1d7d8d9b0b8dee826635cc6 | [log] [tgz] |
---|---|---|
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | Wed Jul 27 11:23:52 2016 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Sep 23 09:35:16 2016 +0200 |
tree | a2ba9413cf9dcaeff353b9a065e5db3fab2651ae | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc [diff] |
mtd: nand: import nand_hw_control_init() The code to initialize a struct nand_hw_control is duplicated across several drivers. Factorize it using an inline function. Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>