From: shengyong Date: Thu, 25 Jun 2015 02:23:14 +0000 (+0000) Subject: mtd: nandsim: fix double free X-Git-Tag: omap-for-v4.3/fixes-rc1~116^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5891a8d11f79b9a45a7334a63d0fa731875bc308;p=pandora-kernel.git mtd: nandsim: fix double free Do not call free_device() in init_nandsim, the caller - ns_init_module - will take care of that if something goes wrong. Signed-off-by: Sheng Yong Signed-off-by: Brian Norris --- Reading git-diff-tree failed