From: Tomas Henzl Date: Wed, 9 Jul 2014 11:50:40 +0000 (+0530) Subject: pm8001: clean bitmap management functions X-Git-Tag: cleanup-for-v3.18~102^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef300544723b3be25c877e520b23831eaf7830e8;p=pandora-kernel.git 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 Acked-by: Suresh Thiagarajan Acked-by: Jack Wang Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed