From 513858585202171d7603024ea65659335df4c8e9 Mon Sep 17 00:00:00 2001 From: Varka Bhadram Date: Mon, 19 Jan 2015 13:35:48 +0530 Subject: [PATCH] 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-format-patch failed