From 31d05e5b14f362c7ea99d1d9e977771ef434b820 Mon Sep 17 00:00:00 2001 From: Tomas Henzl Date: Mon, 7 Jul 2014 17:19:59 +0200 Subject: [PATCH] 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-format-patch failed