From: Tomas Henzl Date: Wed, 9 Jul 2014 11:51:11 +0000 (+0530) Subject: pm8001: more fixes to honor return value X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4ce882d56e5356ea38ab86f6da91df4ac57842;p=pandora-kernel.git pm8001: more fixes to honor return value The driver ignores the return value in a lot of places, fix it at least somewhere (and release the resources in such cases), to avoid that bad things happen. A memory leak is fixed too. Signed-off-by: Tomas Henzl Acked-by: Suresh Thiagarajan Acked-by: Jack Wang Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed