mtg: docg3: use free_bch() instead of kfree()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 11 Oct 2013 04:40:21 +0000 (12:40 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:52 +0000 (23:32 -0800)
commit39ac9ca336314b39df1488087c05a8214266869c
treec8cb68c5e1b463bf632e240215848dc2ae8d5f05
parent9fee840c03d944ed1564c127375a702e242d9555
mtg: docg3: use free_bch() instead of kfree()

Use free_bch() instead of kfree() to free init_bch()
allocated data.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/docg3.c