commit | ef300544723b3be25c877e520b23831eaf7830e8 | [log] [tgz] |
---|---|---|
author | Tomas Henzl <thenzl@redhat.com> | Wed Jul 09 17:20:40 2014 +0530 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jul 25 17:17:04 2014 -0400 |
tree | ef65e6b1ffd31fd94734f3ae60c1be4a940d252f | |
parent | 9f17609968af25a4082d4329abbc6e4f52eda7cd [diff] |
pm8001: clean bitmap management functions In the driver two different functions are used to free the same resource, this patch makes the code easier to read. In addittion to that, some minor optimisations were made 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>