mtd: mxc_nand: add missing clk_disable_unprepare() in mxcnd_remove()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 17 Dec 2013 03:35:35 +0000 (11:35 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:24 +0000 (11:22 -0800)
commit8bfd4f7f18050535892b74e6ec3aa2ca598c6a64
treec3c550f9abbe9861d15c16ad0a63af0de2e2dba8
parent0d681560176ef94b6b2aaa39e3e935662cffc6e6
mtd: mxc_nand: add missing clk_disable_unprepare() in mxcnd_remove()

clock source is prepared and enabled by clk_prepare_enable() in
mxcnd_probe() function, but no disable/unprepare in mxcnd_remove().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mxc_nand.c