From: Tomas Henzl Date: Wed, 30 Jul 2014 13:12:22 +0000 (+0530) Subject: pm8001: fix pm8001_store_update_fw X-Git-Tag: cleanup-for-v3.18~10^2^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f8f31c7a890283bea85c7aac45f089b5766472d;p=pandora-kernel.git pm8001: fix pm8001_store_update_fw The current implementation may mix the negative value returned from pm8001_set_nvmd with count. -(-ENOMEM) could be interpreted as bytes programmed, this patch fixes it. Signed-off-by: Tomas Henzl Signed-off-by: Suresh Thiagarajan Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed