mtd: nand: sunxi: disable clks on device removal
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 4 Mar 2016 17:26:40 +0000 (18:26 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:42 +0000 (22:05 +0200)
commitdd26a4584c37687b8bbe89233bcc23279ca361b1
tree514c32fdf3843927ed3fe508b8cee01a72f9206f
parent68ffbf7f9fb11323238cb31c956b4f381e6b05cc
mtd: nand: sunxi: disable clks on device removal

mod and ahb clocks are not disabled when the NAND controller device is
removed.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/sunxi_nand.c