commit | 5b4ce882d56e5356ea38ab86f6da91df4ac57842 | [log] [tgz] |
---|---|---|
author | Tomas Henzl <thenzl@redhat.com> | Wed Jul 09 17:21:11 2014 +0530 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jul 25 17:17:04 2014 -0400 |
tree | f07fdde86da1f5f749af3bf0d463b3524780942d | |
parent | 646cdf0083e3d4a9b995f37b72c3c8a22d9307de [diff] |
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 <thenzl@redhat.com> Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Acked-by: Jack Wang <xjtuwjp@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>