mtd: nand: gpmi: unify clock handling
Add device specific list of clocks required, and handle all clocks in a single for loop. This avoids further code duplication when adding i.MX 7 support. Signed-off-by: NStefan Agner <stefan@agner.ch> Reviewed-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
Showing
想要评论请 注册 或 登录