From: Varka Bhadram Date: Mon, 19 Jan 2015 08:05:48 +0000 (+0530) Subject: gpio-amd8111: add release_region on ioport_map failure X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~124^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=513858585202171d7603024ea65659335df4c8e9;p=pandora-kernel.git gpio-amd8111: add release_region on ioport_map failure Commit ffe4770b9b3483f74 ("gpio-amd8111: check ioport_map return value") adds the error check on ioport_map(). It doesnt release the requested region. On failure this patch release the region that has requested before. Signed-off-by: Varka Bhadram Reported-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed