From: Tomas Henzl Date: Mon, 7 Jul 2014 15:19:59 +0000 (+0200) Subject: pm8001: fix update_flash X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31d05e5b14f362c7ea99d1d9e977771ef434b820;p=pandora-kernel.git pm8001: fix update_flash The driver checks the return valu, but after he tries to wait_for_completion which might never happen. Also the ioctl buffer is freed at the end of the function, so the first removal is not needed. Signed-off-by: Tomas Henzl Acked-by: Suresh Thiagarajan Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed